I created following simple xml (C escape sequence used) "<A>\n</A>
"
When MSXML (v4 and v6) serialize DOM document using IXMLDOMDocument2.xml it changes newline to dos format and returns: "<A>\r\n</A>
" instead.
When I use DOM to retrieve only string node inside element I get correct single character ("\n") string.
Of course I have preserveWhiteSpaceset to VARIANT_TRUE
XML.Net and Xerces parsers works fine and do not modify the stored string while serializing the xml document.
Is that a bug in msxml? any idea?
thx Jiri