Sorry for opening old issue, but it is still trouble for me. As a
result from previous discussion, anyone promised to fix it but nothing
happened.
http://marc.theaimsgroup.com/?l=xerces-c-dev&m=111220985619051&w=2
I my application, I need save pretty printed XML, reload it and get this
same document, without phantom text nodes.
Unfortunatelly DOMDocument::normalizeDocument() do not recognize double
0A as whitespace and don't remove those nodes.
I can ask, if there is plan to change this unwanted behavior and use
only one 0A when write with fgDOMWRTFormatPrettyPrint option. Otherwise,
I must make any hack to resolve it.
Many thanks,
Lumir Vanek
-----Original Message-----
Hi,
when I use DOMWriter::setFeature(
XMLUni::fgDOMWRTFormatPrettyPrint, true );
after each element, there is 0A 0A (2 x line feed), instead
of 0A what I
expect.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]