commit | 68f8a8061d4f217ec97d8dc19925ba3b57621be1 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Mon Sep 24 20:01:28 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Mon Sep 24 20:01:28 2001 +0000 |
tree | 387950a1d4906dcbb244a01da8650aa70aa7b176 | |
parent | 1ee642211112c637e2b125dcc04b24f64984d749 [diff] |
New base class for the SGMLParser and HTMLParser classes from the sgmllib and HTMLParser modules (and indirectly for the htmllib.HTMLParser class). This has all the support for scanning over DOCTYPE declarations; it warrants having a base class since this is a fair amount of tedious code (since it's fairly strict), and should be in a separate module to avoid compiling many REs that are not used (which would happen if this were placed in either then sgmllib or HTMLParser module).