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: Fri, 24 Mar 2000 11:45:43 -0600
To: HTML Tidy List <html-tidy@w3.org>
Message-ID: <OF09DE4BCB.F10C1CA4-ON8625687C.002690E8@rfdinc.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>  <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 Friday, 24 March 2000 13:14:13 GMT

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