W3C home > Mailing lists > Public > www-validator@w3.org > February 2006

Re: Failed validation, 0 error

From: Frank Ellermann <nobody@xyzzy.claranet.de>
Date: Wed, 01 Feb 2006 06:13:36 +0100
To: www-validator@w3.org
Message-ID: <43E04380.29AA@xyzzy.claranet.de>

David Dorward wrote:
 
> You are serving an XML document with an unrecognised Doctype
> as text/html. The Doctype for XHTML 1.0 Strict is:
 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
> You have a lower case "s" on "Strict".

The URL (system Id or whatever the correct term is) was okay,
could the validator figure out what's going on when it sees...

<!ATTLIST html
  %i18n;
  id          ID             #IMPLIED
  xmlns       %URI;          #FIXED 'http://www.w3.org/1999/xhtml'
  >

...in this DTD ?  Or maybe the error message could be better,
"typo in DOCTYPE" appears to be a rather common issue.  Bye
Received on Wednesday, 1 February 2006 05:14:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:20 GMT