sgmllib.py not good at handling <br/>
Chris Withers
chrisw at nipltd.com
Wed May 16 06:34:04 EDT 2001
Alex Martelli wrote:
>
> No! The reverse. But sgmllib does NOT cover all of SGML
> (not even any _substantial_ fraction of it: SGML is really
> huge, which is why it was subsetted to produce XML!-), just
> what little of it is needed to parse typical HTML, as
> the library reference manual says.
So, this is actualy a bug in sgmllib? ;-)
How would I go about improving it to that it does something sensible with
XHTML-ish tags like <br/>?
What should I be reading or who should I be talking to?
cheers,
Chris
More information about the Python-list
mailing list