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

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 UTC