Bug in expatreader...
Achim Gaedke
Achim.Gaedk at zpr.uni-koeln.de
Sat Jun 16 10:01:14 EDT 2001
(I like responding myself much...)
Here is a workaround for the missing functionality of
parser.setContentHandler(handler):
parser._parser.CharacterDataHandler=handler.characters
This line is taken from xml.sax.expatreader.ExpatReader.reset()
This does work after parser.reset() or after parser.parse(...) is called
once (because parse() calls reset()).
I think this error should be corrected somewhere else, but I don't know
where.
More information about the Python-list
mailing list