Tables and the HTML 3.2 DTD

Martin Gleeson (gleeson@unimelb.edu.au)
Fri, 31 May 1996 08:00:18 +1000


Message-Id: <v01510102add1d2de1db7@[10.0.2.15]>
Date: Fri, 31 May 1996 08:00:18 +1000
To: www-html@w3.org
From: gleeson@unimelb.edu.au (Martin Gleeson)
Subject: Tables and the HTML 3.2 DTD

Hi,
   I've just noticed that many of the Table examples for the HTML 3.2 DTD
(which were also given as examples for HTML 3.0) won't validate with the 3.2
DTD. Specifically, the example (the first example in RFC 1942):

    <TABLE BORDER>
    ...
    <TR>  <TD> ... </TD>  </TR>
    ...
    </TABLE>

is illegal according to the DTD, as the BORDER attribute must have a value
(according to the DTD). (The attribute is optional, the value is not). I think
this can be fixed by adding a default value for the attribute to the DTD.

Cheers,
Marty.
-------------------------------------------------------------------------
Martin Gleeson       Webmeister  |  http://www.unimelb.edu.au/%7Egleeson/
Information Technology Services  |  Email    : gleeson@unimelb.edu.au
The University of Melbourne, Oz. |  Opinions : Mine, all mine.
       "I hate quotations"  -- Ralph Waldo Emerson;  Journals (1843)
-------------------------------------------------------------------------