If I parse an XML string containing newlines encoded as \r\n (#xD #xA), these are not normalized into \n (#xA). I think this violates the "End-of-Line Handling" section of the XML specification.
To simplify the tasks of applications, the XML processor MUST behave as if it normalized all line breaks in external parsed entities (including the document entity) on input, before parsing, by translating both the two-character sequence #xD #xA and any #xD that is not followed by #xA to a single #xA character.
If I parse an XML string containing newlines encoded as
\r\n(#xD #xA), these are not normalized into\n(#xA). I think this violates the "End-of-Line Handling" section of the XML specification.