W3C home > Mailing lists > Public > www-validator@w3.org > August 2007

non-real errors

From: Thomas Dickens <thomas.dickens@koolance.com>
Date: Wed, 29 Aug 2007 14:11:59 -0700
Message-ID: <46D5E11F.2000904@koolance.com>
To: www-validator@w3.org

Checking my site http://www.koolance.com/default.php resulted in several 
errors caused by the same syntax.

Line 28, Column 22: XML Parsing Error: attributes construct error.

      <li class="link" onclick="navClick('/product_wizard/')"><a 

I am using XHTML 1.0 Strict 
(http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd). As you can see the 
validator thinks that li does not allow the attribute onclick. After 
checking with documentation on w3schools.com I thought perhaps they were 
mistaken about onclick being allowed. However after looking directly at 
the dtd file I found onclick to be allowed as an li element's attribute. 
The firefox validator plug in, and the two validators that you list on 
your site to also try report that there are no errors or warnings of any 
kind. It would be nice to be able to put the valid XHTML image/link when 
I am done with the site redesign. It just isn't possible to do with your 
validator being broken.

Thank you for your help,
Thomas Dickens
Received on Thursday, 30 August 2007 00:48:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:53 UTC