hi
folks.
im using xerces 2.1
(sax parser) for XML data parsing.
one of the tags in
my source XML contains a CDATA section, with a chunk of text inside
that has CRLF newlines.
the problem is simple: the parser returns the content of
CDATA with all CRLF newlines converted to LF.
is this behaviour by design ? i thought the content of CDATA should be untouched by an XML
parser.
is it a bug or there are some switches to control this
behaviour of the parser ?
this behaviour of the parser ruins newlines, i am unable to restore the original content of CDATA - it is
unknown to me whether there was a CRLF or simply LF initially - they both
are LF after parsing.
thx.