This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author janssen
Recipients janssen
Date 2008-06-10.18:11:51
SpamBayes Score 0.0237007
Marked as misclassified No
Message-id <>
Right now, the encoding argument added to
xml.dom.minidom.DOMObject.toxml() in Python 2.3 seems fairly useless. 
It has to be UTF-8.  But a one-line change to the implementation of
toprettyxml would make it useful; instead of the encoding error method
being "strict", make it "xmlcharrefreplace".  So change

    writer = codecs.lookup(encoding)[3](writer)


    writer = codecs.lookup(encoding)[3](writer, "xmlcharrefreplace")
Date User Action Args
2008-06-10 18:12:04janssensetspambayes_score: 0.0237007 -> 0.0237007
recipients: + janssen
2008-06-10 18:12:04janssensetspambayes_score: 0.0237007 -> 0.0237007
messageid: <>
2008-06-10 18:11:57janssenlinkissue3075 messages
2008-06-10 18:11:53janssencreate