Re: Validation & errors

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 UTC