I totally agree with Lumir. There is indeed such a problem and I would also really appreciate it to be fixed.

Lumir, if you manage to make some quick and more-or-less dirty fix please do not hesitate to post it here so that others can benefit. Maybe it goes into main branch some day soon ....

Best regards,
Kris.


Lumir Vanek wrote:

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]

Reply via email to