sgmlop: malformed charrefs?

Fredrik Lundh fredrik at pythonware.com
Thu Mar 17 11:52:55 EST 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 effbot.org edition), and
I have no idea how things work in the fork.

</F> 






More information about the Python-list mailing list