W3C home > Mailing lists > Public > www-html-editor@w3.org > January to March 2001

Re: Invalid DTDs

From: Mark Reichert <markr@sirs.com>
Date: Sun, 25 Feb 2001 19:25:10 -0500
Message-ID: <001d01c09f8a$9a2fc8e0$75fb2240@butzbach>
To: <www-html-editor@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:53 GMT