Upgrading Enterprise COBOL programs that have XML GENERATE statements

Enterprise COBOL introduced five new XML GENERATE exception codes after Enterprise COBOL Version 3.

Programs that use these exception codes might have to be changed to migrate to later versions of Enterprise COBOL.

The XML GENERATE exception codes that were added to Enterprise COBOL are:
415
The receiver was national, but the encoding specified for the document was not UTF-16.
416
The XML namespace identifier contained invalid XML characters.
417
Element character content or an attribute value contained characters that are illegal in XML content. XML generation has continued, with the element tag name or the attribute name prefixed with "hex." and the original data value represented in the document in hexadecimal.
418
Substitution characters were generated by encoding conversion.
419
The XML namespace prefix was invalid.