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 animus
Recipients animus, loewis
Date 2012-06-20.19:03:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340219013.13.0.487005599284.issue13648@psf.upfronthosting.co.za>
In-reply-to
Content
>This is correct behavior. \x00 is not supported in XML:
> not in raw form, and not in escaped form

last sentence in forth paragraph of section 1.3 in XML 1.1 specification says following:
======
Due to potential problems with APIs,
#x0 is still forbidden both directly and as a character reference.
======

And, second sentence in paragraph 2 in subsection 'Validity constraint: Notation Declared' of section 4.2.2 says following:
======
The characters to be escaped are the control characters #x0 to #x1F and #x7F (most of which cannot appear in XML), space #x20, the delimiters '<' #x3C, '>' #x3E and '"' #x22, the unwise characters '{' #x7B, '}' #x7D, '|' #x7C, '\' #x5C, '^' #x5E and '`' #x60, as well as all characters above #x7F.
======

(xml 1.1) http://www.w3.org/TR/2006/REC-xml11-20060816/
(xml 1.0) http://www.w3.org/TR/2008/REC-xml-20081126/
History
Date User Action Args
2012-06-20 19:03:33animussetrecipients: + animus, loewis
2012-06-20 19:03:33animussetmessageid: <1340219013.13.0.487005599284.issue13648@psf.upfronthosting.co.za>
2012-06-20 19:03:32animuslinkissue13648 messages
2012-06-20 19:03:31animuscreate