sgmllib.SGMLParseError: unexpected ':' char in declaration

Eric Brunel eric.brunel at
Tue Feb 25 09:45:14 CET 2003

Jarek Zgoda wrote:
> But who cares of DOCTYPE in HTML document, you know... Only HTML
> newbies?

Don't quite agree: they tell you that the document is actually a HTML document 
(you don't trust the .htm[l] extension, do you? ;-)) and the version of HTML it 
uses. It also makes the HTML document parsable by regular validating SGML parsers.

But well... Nevermind...
- Eric Brunel <eric.brunel at> -
PragmaDev : Real Time Software Development Tools -

More information about the Python-list mailing list