Start of change

-20399   ERROR ENCOUNTERED DURING XML VALIDATION: LOCATION n; TEXT: text; XSRID schema-ID

Explanation

XML parsing failed during validation.

n
A byte offset into the XML instance document that is being validated after the conversion of the XML to codepage UTF-8.
text
Additional information describing the parsing error. DB2® might also include a text description of the error when possible. The DB2 special register value CURRENT LOCALE_LC_CTYPE is used to determine the language of the error message from the XML parser. If this value is not set, the default language is EN_US.
schema-ID
The schema ID of the XML schema against which the instance XML document is being validated.

System action

The statement cannot be processed.

Programmer response

Update the XML instance document to correct the problem and resubmit the statement.

SQLSTATE

2201R

End of change