W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2010

Possible Inconsistency in HTML 4.01 Spec

From: <fagricipni@fagricipni.com>
Date: Fri, 6 Aug 2010 12:20:48 -0400
Message-ID: <d29defe1b9f083e3b925242c5be6ff86.squirrel@QuestMail.FutureQuest.net>
To: www-html-editor@w3.org
In "11.2.4 Column groups" of the HTML 4.01 spec under the section "The COL
element" it says, speaking of the COL element: "They may appear inside or
outside an explicit column group (i.e., COLGROUP element)."  However,
under "11.2.1 The TABLE element", the quote from the DTD says: "11.2.1 The
TABLE element" and the DTDs it says: "<!ELEMENT TABLE - - (CAPTION?,
(COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)>".  If I understand "3.3.3
Element declarations" correctly, "(COL*|COLGROUP*)" means that a TABLE may
*directly* contain a set of COLGROUPs or a set of COLs, but not both.  To
get the behavior specified by the text under, "They may appear inside or
outside an explicit column group (i.e., COLGROUP element)", it should be
"(COL|COLGROUP)*".

I sent this to the wrong list the first time. Sorry, about that.
Received on Monday, 9 August 2010 09:25:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:18:00 GMT