Toda coluna IDREFS ou NMTOKENS em uma consulta FOR XML EXPLICIT deve aparecer em uma cláusula SELECT separada e as instâncias devem ser classificadas logo após o elemento ao qual pertencem.
Click to search this error in Google
English version
Every IDREFS or NMTOKENS column in a FOR XML EXPLICIT query must appear in a separate SELECT clause, and the instances must be ordered directly after the element to which they belong.