W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2001

Re: Tidy becomes less forgiving

From: Patrick Lok <plok@inktomi.com>
Date: Thu, 13 Sep 2001 12:11:00 -0700 (PDT)
To: html-tidy@w3.org
Message-ID: <Pine.GSO.4.21.0109131154010.14814-400000@sqadev.inktomi.com>

> >I've attached 2 of the files that have been rejected by the new tidy but 
> >cleaned up by the old tidy.
> 
> There aren't any files attached to you mail, at least I didn't get them.

  I've attached the files again in this email.

> 
> >Is there any reason why the development team had made tidy tighter or less 
> >forgiving?
> 
> Depends on the cases, in general, the current Tidy should be more
> forgiving than the 04 Aug 2000 release.
> 
> >It would be nice for tidy to be more flexible and take as much document as 
> >possible.
> 
> Well, there are cases where Tidy can not correctly guess what the author
> really intended.

Right, I understand that, but at least the new tidy should take everything that the old tidy takes. Or maybe mostly everything.

In responce to Jany, the purpose of tidy is to take a html file that's not well-formed and clean it up and make it well formed. If the tighter it is, the better, then why not just make a program that checks the html code and return a message saying that the file is well-formed or not?

I agree that there's a lot of Html docs out there on the web are syntaxically garbage. And that's the whole purpose of tidy, I believe, which is take those syntaxically garbage html files that are only understood by the browsers, maybe even not, and make it stick to the real html rules.


Thanks,
Patrick


Received on Thursday, 13 September 2001 15:11:06 GMT

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