Validating SGML parser?

Benjamin Niemann pink at odahoda.de
Sun Aug 22 08:06:16 EDT 2004


Leif K-Brooks wrote:
> Benjamin Niemann wrote:
> 
>> does anyone know of a validating SGML parser in python (like 
>> xmlproc.xmlval does for XML)? Goal is to validation HTML against the 
>> DTD, similar to validator.w3.org, not all SGML obscurities are required.
> 
> 
> There are plenty of command-line tools for that. Why not use one of them 
> through Python?
Portability. The current version (that works can handle XHTML variants) 
works out of the box on Windows, Linux and probably everything else that 
supports Python. Would be nice if it could stay this way...



More information about the Python-list mailing list