[Web-SIG] HTML 4.01 patch

A.M. Kuchling amk at amk.ca
Sun Nov 16 16:57:18 EST 2003


SF patch #836088 adds methods to the htmllib module for the elements in HTML
4.01.  Mostly it just adds methods with 'pass' as the only statement, so
it's pretty trivial.  If someone wants to look over it and sanity-check the
patch, it would be much appreciated.

However, the way forward is the HTMLParser.py, which supports XML-style 
empty elements and discards various SGML-specific features that aren't
relevant for HTML.  There's really nothing to do for HTML 4.01 support in
HTMLParser because it doesn't provide any default handlers for elements.  So
I think there isn't really anything to do for HTML 4.01 support in Python,
beyond the above patch.

--amk



More information about the Web-SIG mailing list