homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author thomaslee
Recipients thomaslee
Date 2008年10月19日.15:32:22
SpamBayes Score 0.0035199872
Marked as misclassified No
Message-id <1224430404.43.0.0672391440841.issue4147@psf.upfronthosting.co.za>
In-reply-to
Content
For XML elements containing only text data, it would be nice if
toprettyxml could omit the whitespace it normally injects before & after
the text, e.g.
<person>
 <first-name>
 Bob
 </first-name>
</person>
Becomes:
<person>
 <first-name>Bob</first-name>
</person>
From what I understand the handling of whitespace within XML elements is
application-defined, so I'm classifying this as a nice-to-have feature.
However it should be noted that in our particular case, the existing
behaviour caused a few problems with a third-party system which treated
whitespace as being significant.
History
Date User Action Args
2008年10月19日 15:33:24thomasleesetrecipients: + thomaslee
2008年10月19日 15:33:24thomasleesetmessageid: <1224430404.43.0.0672391440841.issue4147@psf.upfronthosting.co.za>
2008年10月19日 15:32:23thomasleelinkissue4147 messages
2008年10月19日 15:32:22thomasleecreate

AltStyle によって変換されたページ (->オリジナル) /