W3C home > Mailing lists > Public > www-validator@w3.org > June 2001

Bug when interpreting attribute values

From: Gunnar Vestergaard <user1975@worldonline.dk>
Date: Wed, 13 Jun 2001 20:12:49 +0200
Message-Id: <p04330100b74d5c528c2f@[192.168.128.10]>
To: www-validator@w3.org
I have chosen not to subscribe to this list. I just want to convey to 
you an issue regarding the W3C HTML Validator:

It may be called a bug, but I am not sure. When validating the fragment
<img src=/grafik/layout/read_more.gif alt="Read more">

the Validator reports an error: "an attribute value must be quoted if 
it contains any character other than letters (A-Za-z), digits, 
hyphens, and periods; use quotes if in doubt"

The underscore is an issue here. But the HTML spec 
http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.2.2 clearly 
states that underscores are allowed without placing quotation marks. 
Surely, I will place quotation marks around this URI, but I believe 
there is a conflict here.

Gunnar Vestergaard
Received on Wednesday, 13 June 2001 14:14:11 GMT

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