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

* 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 UTC