Object {0} runs a FOR XML query that executes in AUTO mode, which returns references to derived table aliases. Under compatibility ...

Object {0} runs a FOR XML query that executes in AUTO mode, which returns references to derived table aliases. Under compatibility level 90 or later, the query returns references to the derived table alias instead of to the derived table's base tables, so you should modify your application as required to account for the changes.