FIX: Error message when you run a query that contains nested FOR XML clauses in SQL Server 2005: “The XML data type is damaged”
Source: Knowledge Base
Product: Microsoft SQL Server 2005 Enterprise Edition & Standard Edition
Notification Contents: New and Major Modifications
FIX: Error message when you run a query that contains nested FOR XML clauses in SQL Server 2005: “The XML data type is damaged”
http://support.microsoft.com/kb/933808/en-US