Ned Deily added the comment: Thanks for your report. Alas, according to the W3C XML 1.0 specification:
"For compatibility, the string " -- " (double-hyphen) MUST NOT occur within comments." So, it appears minidom (and other XML parsers) are correct in rejecting your example as not well-formed XML. http://www.w3.org/TR/xml/#sec-comments ---------- nosy: +ned.deily resolution: -> not a bug stage: -> resolved status: open -> closed type: crash -> _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24197> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com