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

Re: Validation & errors

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 25 Apr 2004 13:47:35 +0200
To: Nick Kew <nick@webthing.com>
Cc: www-validator@w3.org
Message-ID: <40a5a0a8.208231140@smtp.bjoern.hoehrmann.de>

* Nick Kew wrote:
>>	 AFAIK, libxml2 helps to
>> parse tag soup to some extend, but lacks most of Tidy's functionality
>> which requires a DOM and could thus not be realized with a streaming
>> API.
>
>It doesn't have all of Tidy's capabilities.  But it has ample for the
>task in question.  In fact for the purpose of ensuring valid output,
>the fact that it now supports DTDs and validation makes it the better
>tool.

One would not want to know whether the document meets the contraints of
some DTD again and again, one would rather want that it comes out as
conforming to the relevant specifications as possible. Apart from adding
some quote marks, end tags and escaping some special characters, libxml2
is unable to help in this regard which renders it rather useless here.
Received on Sunday, 25 April 2004 07:51:56 GMT

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