W3C home > Mailing lists > Public > www-validator-css@w3.org > September 2004

Re: Page Validates as XHTML1.1 but Won't got Through CSS Calidator

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 09 Sep 2004 00:13:21 +0200
To: "Tom Drummond" <tom@glenpark.f2s.com>
Cc: <www-validator-css@w3.org>
Message-ID: <41448353.433019198@smtp.bjoern.hoehrmann.de>

* Tom Drummond wrote:
>I receive the error:
>
>" Target: http://www.gamehideout.co.uk
>Please, validate your XML document first!
>
>Line 1
>
>Column 3
>
>The markup declarations contained or pointed to by the document type declaration must be well-formed. "
>
>even though my site (www.gamehideout.co.uk) validates as XHTML 1.1 Strict.

This is a bug in the current W3C Markup Validator, the problem here is
you document type declaration,

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml11-strict.dtd">

The public identifier ("-//W3C//DTD XHTML 1.1 Strict//EN") is not known
to the CSS Validator it thus attempts to retrieve the document type
declaration through http://www.w3.org/TR/xhtml1/DTD/xhtml11-strict.dtd
the system identifier which does not exist. Change the document type
declaration to

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

and it should work. Note that there is no "XHTML 1.1 Strict".
Received on Wednesday, 8 September 2004 22:14:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:15 GMT