SGMLParser eats ä etc

John J. Lee jjl at pobox.com
Mon Dec 1 09:17:11 EST 2003


Eric Brunel <eric.brunel at N0SP4M.com> writes:

> Anders Eriksson wrote:
> > Hello!
> > I'm using smgllib (ActivePython 2.3.2, build 230) and I have some
[...]
> So there are two solutions:
> - either your document is HTML, and you should use an HTML parser as
> it was already suggested
> - or your document is not HTML, and you should define all entities you
> may use in your DTD. This is done for example with:
[...]

sgmllib only really does HTML.


John




More information about the Python-list mailing list