Re: Unable to validate an XHTML1.1 document with an empty body

On Thu, 1 Apr 2004, Dave Laurenson wrote:

>
> The standard says that the minimal content of a <body> element is
>
> ( Heading | Block | List )*

Really?

The DTD says:

<!ENTITY % body.element  "INCLUDE" >
<![%body.element;[
<!ENTITY % body.content
     "( %Block.mix; )+"
>

So naturally, that's what the validator enforces.

Do you have a reason for validating to a document type that it
basically an exercise in futility?


-- 
Nick Kew

Nick's manifesto: http://www.htmlhelp.com/~nick/

Received on Thursday, 1 April 2004 07:59:12 UTC