IRZ0287S Language structure to XML conversion could not complete in program PROGRAM-NAME because the maximum output message length of LENGTH characters was exceeded while generating the XML document.

Explanation

Language structure to XML conversion processes white space processing and expands entity references expansion when it generates the XML document. Entity reference expansion increases the length of data which is included as element content and can cause it to grow up to six times the original length of the data (the longest predefined entity is six characters long).

System action

The converter either signals a Language Environment® condition or, if the optional feedback code argument is provided, places a condition token that represents the condition in the argument.

System programmer response

Ensure that the language structure was not changed after the Language structure to XML converter was generated. Regenerate the XML converter if changes were made to the language structure.