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>

Received on Wednesday, 10 September 1997 09:32:32 UTC