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

Re: Bug when interpreting attribute values

From: Lloyd Wood <l.wood@eim.surrey.ac.uk>
Date: Wed, 13 Jun 2001 19:26:23 +0100 (BST)
To: Gunnar Vestergaard <user1975@worldonline.dk>
cc: www-validator@w3.org
Message-ID: <Pine.GSO.4.21.0106131923410.11615-100000@phaestos.ee.surrey.ac.uk>
On Wed, 13 Jun 2001, Gunnar Vestergaard wrote:

> 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.

The slashes aren't?

L.

> 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.

<L.Wood@surrey.ac.uk>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>
Received on Wednesday, 13 June 2001 14:26:38 GMT

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