Control character in XML output

Item Value
SQLCODE -911
Constant SQLE_CONTROL_CHARACTER_IN_XML_OUTPUT
SQLSTATE WX015
Sybase error code 13573
ODBC 2 State ERROR
ODBC 3 State ERROR

Probable cause 

A non-space character less than 0x20 was encountered while generating XML content. Consider base64 encoding strings that contain control characters before using them as XML content. This can be accomplished in a FOR XML query or SQLX function by casting the string to a type such as LONG BINARY.