W3C home > Mailing lists > Public > www-validator@w3.org > October 2009

Re: errors on http://www.wandleff.co.uk/

From: Dag-Erling Smørgrav <des@des.no>
Date: Thu, 29 Oct 2009 13:43:09 +0100
To: Andrew Wandless <andywandless@btinternet.com>
Cc: "www-validator\@w3.org" <www-validator@w3.org>
Message-ID: <86k4yez7z6.fsf@ds4.des.no>
Andrew Wandless <andywandless@btinternet.com> writes:
> Error Line 2, Column 6: "html" is not a member of a group specified for any attribute               
>                                                                                                     
>      PUBLIC "-//W3C/DTD XHTML 1.0 Transitional//EN"                                                 

% fetch -qo- http://www.wandleff.co.uk/ | head -4
<DOCTYPE html
     PUBLIC "-//W3C/DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">

That's not a valid doctype declaration.  A valid doctype declaration
looks like this:

% fetch -qo- http://www.des.no/ | head -3
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN'
 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>

DES
-- 
Dag-Erling Smørgrav - des@des.no
Received on Thursday, 29 October 2009 12:43:39 GMT

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