Loading TOC...

SER-BADCHAR

W3C XQuery Standard Equivalent: err:SERE0008

Message Text

Character cannot be represented in desired output encoding: variable1

Cause

A character that cannot be represented in the desired output encoding appears in a context where character references are not allowed (for example, the character occurs in the name of an element), or a character cannot be serialized because it is not a legal UTF-8 or UTF-16 character.

Response

Determine the bad character and, if possible, replace it with a valid one (or just delete it). Or avoid serialization of the bad character in the current context.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.