Stefan Behnel <[EMAIL PROTECTED]> wrote: > Stefan Scholl wrote: >> But the style of the answers makes me wonder if I should report >> the bug in xml.sax (or its documentation) or just ignore it. > > Note that PyXML is no longer actively maintained, so it's unlikely that
Too bad it can still be found in at least 80 % of all XML examples. I should burn the XML chapter of the cookbook. By the way: Thanks for the tip regarding LXML. I'll try to remember it for the next project. > reporting the bug would get you a version that raises an exception when > passing a unicode string *independent of the Python version*. > > Besides, the bug has been fixed in Python 2.5 already. Just checked on a system without PyXML: xml/sax/__init__.py defines parseString() and uses cStringIO (when available). Python 2.5.1 -- Web (en): http://www.no-spoon.de/ -*- Web (de): http://www.frell.de/ -- http://mail.python.org/mailman/listinfo/python-list