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

Invalid DTDs

From: Mark Reichert <markr@sirs.com>
Date: Sat, 24 Feb 2001 18:02:52 -0500
Message-ID: <001101c09eb5$ed810a20$75fb2240@butzbach>
To: <www-html-editor@w3.org>
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 Saturday, 24 February 2001 18:02:49 GMT

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