Does the XML specification states that parser need to convert \n\r to \n always, even when \n\r appe
- by mic.sca
Hi,
I've stumbled in a problem handling the \line-feed and \carriage-return characters in xml.
I know that, according to http://www.w3.org/TR/REC-xml/#sec-line-ends, xml processors are required to replace any "\n\r" or lone "\r" sequences with "\n".
The specification states that this has to be the behaviour for handling any "external parsed entity", does this apply to CDATA sections inside of an element as well?
thank you,
Michele
I'm sure that msxml library for example converts every \n\r" or lone "\r" sequences to "\n", regardless of their being in a cdata section or not.