RE: My page doesn't validate

Ok I tried putting the redefinition on the html.content entity before I
brought in the XHTML 1.1 DTD but the validator didn't like it and
consequently wouldn't validate my page.  How am I supposed to include
the xhtml11 and the frames module so the page will validate?  Is there a
way around the problem I am having?  If so, what is it?

Michael Hallett

"Life is not a punishment, not a task, but a gift. 
Your only obligation is to enjoy every minute of it."
-Louie Stermole 

-----Original Message-----
From: []
On Behalf Of Masayasu Ishikawa
Sent: Wednesday, June 26, 2002 3:19 AM
Subject: Re: My page doesn't validate

"Michael Hallett" <> wrote:

> I poked around the implementation DTD's for XHTML 1.1 and the Frames
> Module and came to the conclusion that the redefinition of
> in the Frames Module wasn't being processed.

Because according to "4.2 Entity Declarations" of XML 1.0, "[i]f
the same entity is declared more than once, the first declaration
encountered is binding", so in your DTD, the declaration of
%html.content; in the Structure Module referenced from the XHTML 1.1
DTD is binding.

On the other hand if you bring in the Frames Module before the XHTML
1.1 DTD, you'll get another parameter entity problems.  This is
well-known nasty chicken-and-egg problem of DTD, and you'll have to 
include a redundant declaration of %html.content; before you bring in
the XHTML 1.1 DTD in addition to the Frames Module which should be
brought in after the XHTML 1.1 DTD.

I know it's ugly, but that's how DTD works.  It would be easier to
write your DTD by modifying the XHTML 1.1 DTD driver rather than
referencing it and cope with chicken-and-egg problems.

And this is not really a validator's issue, please move to
the list if you want to continue the discussion
about XHTML DTD implementation.

Masayasu Ishikawa /
W3C - World Wide Web Consortium

Received on Wednesday, 26 June 2002 11:58:50 UTC