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

Re: Different between Web HTML Validation and HTML Tidy

From: Charles Reitzel <creitzel@rcn.com>
Date: Wed, 11 Sep 2002 10:18:50 -0400
Message-Id: <4.3.2.7.2.20020911101313.00b6af88@pop.rcn.com>
To: "Chan Yau Leung" <yldchan@hotmail.com>
Cc: <html-tidy@w3.org>

Hi Chan Yau,

We have heard about differences between Tidy and the validator.  Sometimes 
it is the other way around.  Because it is not limited to DTD validation, 
Tidy can find some things the validator cannot.

I believe, when Tidy encounters older, but valid markup - such as 
leftmargin, topmargin, etc. - it silently changes the DOCTYPE to reflect 
the actual HTML version of the document.  Unless you have chosen the 
"quiet" option, it will print an information message to this effect.  Is 
this what is happening for you?

If not, please send along a sample and a config file.

take it easy,
Charlie


At 10:24 PM 8/13/2002 -0400, Chan Yau Leung wrote:
>Dear all,
>     I tried to use the web base HTML Validator (validator.w3.org) and 
> compare the result with HTML tidy.  The result is not too good as the 
> HTML validator is more strict in following the HTML 4.0 standard.
>     i.e.  for HTML code "<body leftmargin="0" topmargin="0" 
> marginwidth="0" marginheight="0" b ..."
>
>     HTML Validator will report error on leftmargin, topmargin, 
> marginwidth,...  While HTML tidy don't have these error mention at all.
>
>     Is there any option in HTML tidy that I could turn on and have it 
> work the same as HTML Validator?
>     Or is there any other software that could do the similar thing as 
> HTML Validator?
>
>Thanks.
Received on Wednesday, 11 September 2002 10:09:08 GMT

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