[issue20714] Please allow for ]]> in CDATA in minidom.py

Artur R. Czechowski report at bugs.python.org
Fri Feb 21 03:04:09 CET 2014


New submission from Artur R. Czechowski:

Current support for ]]> inside CDATA is to raise an Exception. However, it could be solved by dividing the ]]> to two strings:
- ]]
- >
and each one is a separate CDATA inside elemement. So, to put ]]> inside CDATA one can write:
<element>
<![CDATA[]]]]><![CDATA[>]]>
</element>

----------
components: XML
files: minidom.patch
keywords: patch
messages: 211791
nosy: arturcz
priority: normal
severity: normal
status: open
title: Please allow for ]]> in CDATA in minidom.py
type: behavior
versions: Python 2.7, Python 3.3
Added file: http://bugs.python.org/file34167/minidom.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20714>
_______________________________________


More information about the Python-bugs-list mailing list