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 peter.otten
Recipients arturcz, eric.araujo, loewis, peter.otten, serhiy.storchaka
Date 2014-02-24.09:27:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393234057.75.0.18103749548.issue20714@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps a look at the competition is still in order: Java silently breaks such an invalid CDATA in two, as suggested.

http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.htm says
"""
No lexical check is done on the content of a CDATA section and it is therefore possible to have the character sequence "]]>" in the content, which is illegal in a CDATA section per section 2.7 of [XML 1.0]. The presence of this character sequence must generate a fatal error during serialization or the cdata section must be splitted before the serialization (see also the parameter "split-cdata-sections" in the DOMConfiguration interface).
"""

The change Artur suggested would be covered by this.
History
Date User Action Args
2014-02-24 09:27:37peter.ottensetrecipients: + peter.otten, loewis, eric.araujo, serhiy.storchaka, arturcz
2014-02-24 09:27:37peter.ottensetmessageid: <1393234057.75.0.18103749548.issue20714@psf.upfronthosting.co.za>
2014-02-24 09:27:37peter.ottenlinkissue20714 messages
2014-02-24 09:27:37peter.ottencreate