On Jan 30, 2008 12:49 AM, Christoph Haas
<email-Nf+wZpSdgwd6//Dw7l...@public.gmane.org> wrote:
There's supposed to be an offline version of the W3C validator so that
you don't need to query the interweb. Would be great to somehow include
that so validation can be done locally.
I looked into this earlier and found two Python modules for it, one
using HTML Tidy and the other something else, but both depended on
third-party C libraries with horrible installation instructions so I
was never able to get them installed. Also, HTML Tidy is designed as
a command-line tool and is kludgy to use as a library. What we really
need is a pure Python validator, ideally one that gives the same
helpful error messages as the W3C validator.