W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

Re: about tidy

From: Dave Raggett <dsr@w3.org>
Date: Fri, 3 Dec 1999 13:48:19 +0000 (GMT Standard Time)
To: zuoli <lzuo@ict.ac.cn>
cc: html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.9912031343200.868-100000@OEMCOMPUTER>
On Fri, 3 Dec 1999, zuoli wrote:

> I have download the tidy and found that it is a good tool to
> validate the document, and the site of w3c provide the function
> of http://validator.w3.org/ to validate the document. If they
> have difference on their capability, which is better? If the
> latter is better, why didn't add the function into Tidy?

The validator applies the SGML/XML notion of syntax checking but
doesn't repair any problems it finds. Tidy embodies a lot of
knowledge on how to fix up html, but it's not as rigorous when it
comes to attribute checking.

Combining Tidy and the validator would be a possibility - e.g. for
the validator to offer to run Tidy for you before validation, and
something the W3C Web team could look into.

Another idea would be for Tidy to apply more complete checks
on which attributes appear on what elements. This is in the
pipeline, but currently a lower priority than other enhancements.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 385 320 444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Friday, 3 December 1999 08:48:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:42 GMT