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|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From [EMAIL PROTECTED]  2004-01-20 23:33 -------
Han Ming,

   A patch has been applied to solve the extraneous whitespace (or newline) 
problem.

   The root of this problem comes from the introduction of checking on the 
feature, whitespace-in-element-content (which can only be false by this 
implementation for now), which forbits the DOMWriter throwing away all 
whitespace text node.

   With this patch, we can eliminate extraneous newline, but since we have to 
print whitespace, if the originial xml instance document has lots of whitespace 
in between elements, then the pretty print may not be able to intend properly.

   Please help verify the result and close the bug if it works fine to u, 
thanks.

Rgds,
PeiYong

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

Reply via email to