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

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

From: J. David Bryan <jdbryan@acm.org>
Date: Sat, 5 Feb 2000 02:00:04 -0500
Message-Id: <200002050700.CAA12702@mail.bcpl.net>
To: HTML Tidy List <html-tidy@w3.org>
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.

                                      -- Dave
Received on Saturday, 5 February 2000 02:00:10 GMT

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