I offered to make a patch if it would be committed.  Maybe that was an
inappropriate condition (it's hard to know whether anyone would be
willing to commit it, since it's basically a change of preference rather
than fixing a bug), but nobody stepped up, so I haven't prepared a
patch.

If this is important to you, filing a Jira issue (assuming there isn't
one already) might be a better approach.  Categorize it as an
improvement or a wish rather than a bug.  Then there will be someplace
to put the patch, and even if it isn't committed, it'll be available.

> -----Original Message-----
> From: Lumir Vanek [mailto:[EMAIL PROTECTED] 
> Sent: Friday, December 16, 2005 3:26 AM
> To: [email protected]
> Subject: Re: fgDOMWRTFormatPrettyPrint causes double 0A in output
> 
> 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]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to