[issue20714] Allow for ]]> in CDATA in minidom

Artur R. Czechowski report at bugs.python.org
Sun Feb 23 22:49:04 CET 2014


Artur R. Czechowski added the comment:

Martin,
I partially agree with you.
After rethinking the issue I agree that changing the behavior of createCDATASection maybe is not a good idea.
On the other hand anyone in need of adding ]]> into CDATA must write a few lines of code, which will be essentially the same for each application. This part of code could be embedded into minidom module and it could be provided to each needing party. Please consider extending the interface of minidom module with method creating CDATA sections regardless of the provided data, splitting it into two CDATA if necessary.

If you disagree, feel free to close this issue.

----------

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


More information about the Python-bugs-list mailing list