sgmlop: malformed charrefs?

Fredrik Lundh fredrik at
Thu Mar 17 17:52:55 CET 2005

Magnus Lie Hetland wrote:

>>if you have a handle_entityref hook, but no handle_charref, the part between
>>& and ; is passed to handle_entityref.
> Strange. It doesn't seem to work that way for me... Here is an example:
> from xml.parsers.sgmlop import SGMLParser, XMLParser, XMLUnicodeParser

are the PyXML folks shipping the latest sgmlop?  I'm pretty sure they've
forked the code (there's no UnicodeParser in the edition), and
I have no idea how things work in the fork.


More information about the Python-list mailing list