Re: Invalid DTDs

Sorry, please disregard this.  I had temporarily put the DTD internally in
my document while the DTD is meant to be used externally.

Keep up the good work.


----- Original Message -----
From: "Mark Reichert" <markr@sirs.com>
To: <www-html-editor@w3.org>
Sent: Saturday, February 24, 2001 6:02 PM
Subject: Invalid DTDs


> As far as I can tell, the XHTML DTDs are invalid (or the XML 1.0 spec is
> incorrect).  A PEReference can't occur in an AttlistDecl/AttDef section,
> according to the XML 1.0 spec, so:
>
> <!ELEMENT html (head, body)>
> <!ATTLIST html
>   %i18n;
>   xmlns       %URI;          #FIXED 'http://www.w3.org/1999/xhtml'
>   >
>
> is invalid by:
>
> [52]    AttlistDecl    ::=    '<!ATTLIST' S Name AttDef* S? '>'
> [53]    AttDef    ::=    S Name S AttType S DefaultDecl
>
>

Received on Sunday, 25 February 2001 19:25:15 UTC