Message Text
Invalid XML character codepoint variable1 at variable2 line variable3 -- document contains non-XML character
Cause
The XML document contains a codepoint that is not legal XML.
Response
Consider running xdmp:tidy to convert the document to legal XHTML, specifically to replace illegal XML codepoints with benign codepoints.