[XML-SIG] [ pyxml-Patches-434932 ] Allow excess whitespace in XML marshals
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 20 Jun 2001 14:19:16 -0700
Patches item #434932, was updated on 2001-06-20 14:19
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=306473&aid=434932&group_id=6473
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: A.M. Kuchling (akuchling)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allow excess whitespace in XML marshals
Initial Comment:
If you pretty print a marshalled XML file,
xml.marshal.generic breaks because it expects to get
no characters outside of certain elements.
This patch causes all unexpected characters to be
dropped; it could be made stricter by checking that
if accumulate_chars == 1, the data being passed to
characters() is all whitespace.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=306473&aid=434932&group_id=6473