W3C home > Mailing lists > Public > www-validator@w3.org > November 2005

Re: [VE][64] (TFOOT attribute) Error Message Feedback

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Wed, 9 Nov 2005 20:06:00 +0200 (EET)
To: Adam Cooper <adam.c@ncprint.com.au>
Cc: www-validator@w3.org
Message-ID: <Pine.GSO.4.63.0511092003250.17824@korppi.cs.tut.fi>

On Tue, 8 Nov 2005, Liam Quinn wrote:

> The HTML 4.01 Recommendation says:
>
> "TFOOT must appear before TBODY within a TABLE definition so that user
> agents can render the foot before receiving all of the (potentially
> numerous) rows of data."

That's the rationale behind the syntax, but maybe it needs to be said
that a validator's operation is not based on such statements but on
the formal rules alone. In this case, the applicable rule is

<!ELEMENT table
      (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))>

This implies the the tfoot element, if present, must precede the tbody 
element.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Wednesday, 9 November 2005 18:06:16 GMT

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