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

[VE][108] Confusing error msg: Attribute "X" is not a valid attirbute. Did you mean "x"?

From: Mabry Tyson <Tyson@AI.SRI.COM>
Date: Fri, 31 Jul 2009 19:11:52 -0700
Message-ID: <4A73A468.7040904@AI.SRI.COM>
To: www-validator@w3.org
Validating the HTML below results in an error message given as:

Line 3, Column 19: Attribute "HEIGHT" is not a valid attribute. Did you 
mean "height"?

It is clearly an error, but the error message might confuse a user into 
thinking the problem is case related, or something else such that 
"height" could be used somehow.

If it didn't have the "Did you mean ...", then it would not be confusing.



Validating

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Test</title></head><body>
<table><tr height="25"> <td>Test </td></tr></table>
</body> </html>

Error [108]: "there is no attribute X"
Received on Monday, 3 August 2009 09:29:34 GMT

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