-20377   AN ILLEGAL XML CHARACTER hex-char WAS FOUND IN AN SQL/XML EXPRESSION OR FUNCTION ARGUMENT THAT BEGINS WITH STRING start-string

Explanation

An SQL expression, XML expression, or function attempted to convert an SQL string value from one of the arguments to an XML string, but the string included a character at Unicode code point hexchar that is not a legal XML 1.0 character. The character is included in a string that begins with the string start-string. The value for hex-char represents a Unicode character code point in the form "#xH", where H is a hexadecimal character. The following set of characters, expressed in Unicode are allowed: #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]

System action

The statement cannot be processed.

User response

Remove the illegal character hex-char or replace it with a character that is allowed.

SQLSTATE

0N002