BIP5004

Severity

20 : Error

Message

An XML parsing error '<insert_4>' occurred on line <insert_2> column <insert_3> when parsing element '<insert_5>'.
Internal error codes : '<insert_0>', '<insert_1>'.

Explanation

This error was reported by the generic XML parser. It is usually the result of a badly-formed XML message.

Response

Check that the input XML message is a well-formed XML message that adheres to the XML specification. Note that the line number and column number quoted give the position where the parser discovered the problem. The actual error might be earlier in the message.
Other possible causes could be:
1. A character not supported by XML in the instance message data.
XML only supports a subset of control characters so ensure that no unsupported characters, such as X'00', appear in the document.
2. The Coded Character Set ID defined in the message header does not reflect the contents of the instance message.
If the XML document has an XML prologue, the WebSphere MQ CodedCharSetId should be consistent with the XML Encoding field.
3. A reserved XML character appears in the instance message data.
Characters that could otherwise be recognised as XML mark-up such as < or & should be replaced with the comparable XML entities such as < or &.