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 ygale
Recipients ygale
Date 2008-02-24.14:03:02
SpamBayes Score 0.015561151
Marked as misclassified No
Message-id <1203861783.69.0.636987169656.issue2175@psf.upfronthosting.co.za>
In-reply-to
Content
The expat sax parser in xml.sax.expatreader
does not fully support the InputSource protocol
in xml.sax.xmlreader. It only accepts
byte streams. It ignores the encoding
indicated in the InputStream object and
only uses the encoding read from
the XML or defaults to UTF-8.

Rather than silently doing the wrong thing,
it should raise an error when fed a character stream,
or when given an encoding, via the InputSource
interface.

And most importantly, these limitations should be mentioned
in the documentation.
History
Date User Action Args
2008-02-24 14:03:04ygalesetspambayes_score: 0.0155612 -> 0.015561151
recipients: + ygale
2008-02-24 14:03:03ygalesetspambayes_score: 0.0155612 -> 0.0155612
messageid: <1203861783.69.0.636987169656.issue2175@psf.upfronthosting.co.za>
2008-02-24 14:03:02ygalelinkissue2175 messages
2008-02-24 14:03:02ygalecreate