Troubleshooting
Problem
Any of the five attribute characters (ampersand) (apostrophe) (less than) (greater than) (quote) should give XML-CODE errors such as 126 or 141. Only the (<) and the (&) give errors as expected.
Cause
This is correct as is. The (>) (") and (') should not give errors.
Environment
Enterprise COBOL version 3.4.1 or version 4.1.0 with option XMLPARSE(COMPAT).
Resolving The Problem
Pages 490 & 491 of the Enterprise COBOL Programming Guide V3R4 list the five ATTRIBUTE-CHARACTER and CONTENT-CHARACTER namely & ' > < "
The following URL explains why only the less than and the ampersand give errors. Click on www.w3.org Explanation just below.
(Similar information is in Chapter 3 of the Enterprise COBOL V4R1 Language Reference, but it does not include the exact list of characters.)
Related Information
Historical Number
PMR_39753_49R_000
Was this topic helpful?
Document Information
Modified date:
08 August 2018
UID
swg21252330