Re: THEAD, TFOOT, TBODY

Chris Maden (crism@ora.com)
Wed, 10 Sep 1997 09:35:55 -0400


Date: Wed, 10 Sep 1997 09:35:55 -0400
Message-Id: <199709101335.JAA21689@geode.ora.com>
From: Chris Maden <crism@ora.com>
To: www-html@w3.org
In-reply-to: <199709100630.CAA09639@www10.w3.org> (eva@algonet.se)
Subject: Re: THEAD, TFOOT, TBODY

[Eva]
> I guess I didn't make myself clear enough. All the "whens" that you
> just listed are commented in the proposed DTD fragment above.  My
> point is this: If optional tags are "when..."-dependent then the
> statements
> <!ELEMENT THEAD - O (TR+)>
> <!ELEMENT TFOOT - O (TR+)>
> <!ELEMENT TBODY O O (TR+)>
> are simply not true or one could perhaps say that they are only true
> under certain circumstances. There is no mention of these
> circumstances in the DTD making it specification dependent -- a
> specification is required to make any sense out of DTD. Therefore
> I'd like to suggest that some kind of clarification be included in
> the DTD
> 
> Furthermore according to the DTD a "when" " when a THEAD or TBODY
> start tag follows", meaning follows the TFOOT, is wrong as a THEAD
> cannot follow TFOOT.

SGML says, "A tag can be omitted ... only if the omission would not
create an ambiguity".  (Clause 7.3.1, ISO 8879.)

IOW, what you are saying is *already* implicit in the DTD, and does
not need to be added to it.

The descriptions of <thead>, <tfoot>, and <tbody> in the prose should
highlight this fact, but the DTD does not need further formal
language.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>