W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

Re: [BUGFIX] Tidy doesn't recognize legal HTML 3.2 doctype

From: Paul White <paul-white@clara.net>
Date: Sun, 06 Feb 2000 14:23:54 +0000
To: html-tidy@w3.org
Message-ID: <9g0r9ssskvrog9r018ops2gv05qlaop9tr@4ax.com>

>This report is for the Tidy version of 13th January 2000.
>
>When given a legal HTML 3.2 file, Tidy reports the content to be "HTML 
>proprietary."  For example, this text, which validates at the W3C site:
>
>  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
>  <html>
>  <head>
>  <title>Valid HTML 3.2</title>
>  </head>
>  <body>
>  </body>
>  </html>
>
>...is reported as "HTML proprietary".  The cause is the definition of the 
>HTML 3.2 doctype string at line 60 of lexer.c:
>
>  {"HTML 3.2", "XHTML 1.0 Transitional", voyager_loose, VERS_HTML32},
>
>However, the proper doctype string should be:
>
>  {"HTML 3.2 Final", "XHTML 1.0 Transitional", voyager_loose, VERS_HTML32},
>
>...according to the HTML 3.2 specification at http://www.w3.org/TR/REC-
>html32.html.
>

This is probably related to my post of 21st January where I posted that
valid XHTML 1.0 files are not recognized by Tidy as such. Since then I
have also found that valid HTML 4.01 are not recognized either. All my
files validate with the W3C and WDG validators but not with this version
of Tidy. Older versions of Tidy report HTML versions correctly.

Maybe there are other errors in that table that you refer to as well?
Unfortunately I don't have an older version of the source code to check
what was there previously.
-- 
Paul White
Chipping Sodbury, UK
[paul-white@clara.net]
Received on Sunday, 6 February 2000 09:23:48 GMT

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