- From: Michael Hallett <hallem@rpi.edu>
- Date: Wed, 26 Jun 2002 11:56:35 -0400
- To: "'Masayasu Ishikawa'" <mimasa@w3.org>
- Cc: <www-validator@w3.org>
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 hallem@rpi.edu ===================================================== "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: www-validator-request@w3.org [mailto:www-validator-request@w3.org] On Behalf Of Masayasu Ishikawa Sent: Wednesday, June 26, 2002 3:19 AM To: hallem@rpi.edu Cc: www-validator@w3.org Subject: Re: My page doesn't validate "Michael Hallett" <hallem@rpi.edu> 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 html.content > 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 www-html@w3.org list if you want to continue the discussion about XHTML DTD implementation. Regards, -- Masayasu Ishikawa / mimasa@w3.org W3C - World Wide Web Consortium
Received on Wednesday, 26 June 2002 11:58:50 UTC