DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25751>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25751

DOMWriter prettyprint adds too much whitespace after each element

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



------- Additional Comments From [EMAIL PROTECTED]  2004-01-09 14:34 -------
I was thinking about this last night and I see two courses of action:

1. Add a state variable to DOMWriter and suppress the newline if the previous 
node was DOMText and ended in a newline. (changes to Xerces)

2. Clean up additional newlines on import.  (changes to your code)  The pretty-
print feature has no business removing whitespace, but you can prevent their 
accumulation.

I'll see about submitting a patch for #1 next week.

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

Reply via email to