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 Tomalak
Recipients Tomalak
Date 2009-04-14.11:13:05
SpamBayes Score 3.7332284e-05
Marked as misclassified No
Message-id <1239707588.77.0.33795755364.issue5752@psf.upfronthosting.co.za>
In-reply-to
Content
Current behavior upon toxml() is:

<foo attribute="multiline
value" />

Upon reading the document again, the new line is normalized and
collapsed into a space (according to the XML spec, section 3.3.3), which
means that it is lost.

Better behavior would be something like this (within attribute values only):

<foo attribute="multiline&#x0D;&#x0A;value" />
History
Date User Action Args
2009-04-14 11:13:08Tomalaksetrecipients: + Tomalak
2009-04-14 11:13:08Tomalaksetmessageid: <1239707588.77.0.33795755364.issue5752@psf.upfronthosting.co.za>
2009-04-14 11:13:06Tomalaklinkissue5752 messages
2009-04-14 11:13:05Tomalakcreate