W3C home > Mailing lists > Public > www-validator@w3.org > April 2004

Re: Validation & errors

From: Nick Kew <nick@webthing.com>
Date: Sat, 24 Apr 2004 23:13:46 +0100 (BST)
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: Pete Prodoehl <pete.prodoehl@cygnusinteractive.com>, www-validator@w3.org
Message-ID: <Pine.LNX.4.53.0404242308530.1179@hugin.webthing.com>


On Sat, 24 Apr 2004, Bjoern Hoehrmann wrote:

> You don't need to be, you could use an output filter for your webserver
> that passes invalid documents to HTML Tidy first and thus correct most
> error automatically...

Indeed you could.  Except that Tidy has neither a SAX (or comparable
linear) parse mode nor a parseChunk API, and would therefore be
seriously inefficient in this context.  libxml2 does the job a whole
lot more efficiently.

-- 
Nick Kew

Nick's manifesto: http://www.htmlhelp.com/~nick/
Received on Saturday, 24 April 2004 18:14:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:13 GMT