Patches item #1777134, was opened at 2007-08-19 10:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1777134&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Teajay (teajay_fr)
Assigned to: Nobody/Anonymous (nobody)
Summary: minidom pretty xml output improvement

Initial Comment:
This patch provides a fix to the minidom pretty xml output. In the initial 
version when outputing textnodes additional line breaks were added at the 
beginning and the end of the textnode block thus output false textnode content. 
If you load and save an xml document with textnodes the size of the textnodes 
increases every time.

To fix this, a simple logic has been added to the textnode output function in 
order to prevent this behavior.

This is my first patch submission so I hope I haven't done anything wrong. I so 
please let me know I'll be glad to improve it.

Cheers and keep up the good work.

Teajay

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1777134&group_id=5470
_______________________________________________
Patches mailing list
Patches@python.org
http://mail.python.org/mailman/listinfo/patches

Reply via email to