This is required by the specification. See
http://www.w3.org/TR/2000/REC-xml-20001006#sec-line-ends.
-----Original Message-----
From: Shlomi Afia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 1:13 PM
To: '[EMAIL PROTECTED]'
Subject: problems with "carriage return" and "line feed"
Hi all,
I have a XML file with a text section inside. The text section contains \r\n
characters. I parsed the file with a DOMParser object and than convert the
DOM_Document I got, back to text. The text I got was without \r, just \n.
I know that the problem is in the DOMParser. For some reason it removes any
\r from the XML.
Is there a way to 'tell' the parser not to remove the \r character?
I'm using xerces version 1.3.0.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]