Illegal column name: '%1'

Item Value
SQLCODE -899
Constant SQLE_BAD_FOR_XML_EXPLICIT_COLUMN_NAME
SQLSTATE WX007
Sybase error code 13582
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 The reason the column name was illegal.

Probable cause 

FOR XML EXPLICIT column names can consist of up to four fields separated by exclamation marks. The first two columns must be named 'Tag' and 'Parent'.