Paul Pogonyshev added the comment: Well, it seems that allows createComment() in minidom to raise something implementation/language specific. I personally would prefer this (e.g. a ValueError) instead of raising on serialization step, as I prefer early error checks, when these checks obviously relate to some place in the code. In any way, I think that either createComment() should raise or toxml(), but generating non-well formed output is a bug.
__________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1390> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com