SGMLParser eats ä etc

John J. Lee jjl at pobox.com
Wed Dec 3 13:14:48 EST 2003


ddubin <ddubin at lindev.isrl.uiuc.edu> writes:

> Anders Eriksson <ameLista at telia.com> writes:
[...]
> disappears. The question is what replacement text has been put in its
> place, and why can't you see it?

He can't see it because it's not there.  From sgmllib.py:

    # To be overridden -- handlers for unknown objects
    def unknown_starttag(self, tag, attrs): pass
    def unknown_endtag(self, tag): pass
    def unknown_charref(self, ref): pass
    def unknown_entityref(self, ref): pass


John




More information about the Python-list mailing list