[issue1390] toxml generates output that is not well formed

Virgil Dupras 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?

----------
nosy: +vdupras
Added file: http://bugs.python.org/file9418/minidom_comment.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1390>
__________________________________


More information about the Python-bugs-list mailing list