IRZ0291S XML to language structure conversion could not complete in program PROGRAM-NAME because the maximum XML element nesting depth was exceeded. The error occurred at XML path XML-PATH with character content CHARACTER-CONTENT.

Explanation

The language structure to XML converter maintains an internal stack which represents the full qualification of the current element that is being processed in the XML document. If extraneous XML elements not described in the XML schema to which the converter is bound are present in the XML document, they might exceed the maximum supported element depth.

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 numeric language structure member is properly initialized according to COBOL semantics.