W3C home > Mailing lists > Public > www-validator@w3.org > April 2004

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

From: Nick Kew <nick@webthing.com>
Date: Thu, 1 Apr 2004 13:58:40 +0100 (BST)
To: Dave Laurenson <Dave.Laurenson@ed.ac.uk>
Cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.53.0404011355390.15735@hugin.webthing.com>

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 GMT

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