[issue1390] toxml generates output that is not well formed
report at bugs.python.org
Tue Feb 12 20:27:54 CET 2008
Virgil Dupras added the comment:
I wanted to start contributing to python for quite a while, so here's my very
first try (cleaning out old patchless open tickets).
So, whatever is the final decision on this, here's a patch.
CDATASection.writexml() already raises ValueError when finding invalid data,
so it seems consistent to me to extend the behavior to Comment.writexml()
note: I can't add the "patch" keyword myself?
Added file: http://bugs.python.org/file9418/minidom_comment.patch
Tracker <report at bugs.python.org>
More information about the Python-bugs-list