W3C home > Mailing lists > Public > www-validator@w3.org > January 2010

Re: [VE][64] document type does not allow element "TFOOT" here

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Wed, 6 Jan 2010 22:17:03 +0200
Message-ID: <B4703768A07F4289A80A9E511AA5F2EF@JukanPC>
To: "Lou King" <lking@knob.com>, <www-validator@w3.org>
Cc: "David Peabody" <DavidP@smdi.com>
Lou King wrote:

> Unfortunately all of this discussion does not address David's (OP)
> real problem.

The real problem is far from obvious, since no URL was disclosed.

> As a U.S. Government contractor (I'm guessing) he needs
> to comply with all sorts of BS, including "Section 508" and I'm sure a
> requirement to write W3C compliant HTML; which it is obvious he can't
> do both. The suggestions that he not use <tfoot> may not be a
> contractual option.

Section 508 does not mention tfoot at all, as far as I can see. It just 
says, regarding tables:

"(g) Row and column headers shall be identified for data tables.

(h) Markup shall be used to associate data cells and header cells for data 
tables that have two or more logical levels of row or column headers."

http://www.section508.gov/index.cfm?FuseAction=Content&ID=12

Nothing about table footers. And even for headers, no specific markup is 
required, just that headers be "identified".

Anyway, if a markup problem remains, it is best discussed in some other 
forum. The validation point of view is very simple: _if_ you use <tfoot> and 
if you use a published DTD that allows it, then the validator will check 
that the <tfoot> element appears between <thead> and <tbody> elements - 
because that's loosely speaking that the DTDs say; more exactly they say:

<!ELEMENT TABLE - -
     (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)>

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 
Received on Wednesday, 6 January 2010 20:17:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:39 GMT