W3C home > Mailing lists > Public > www-validator@w3.org > May 2010

a href=" " gives a strange error message

From: Mikhail Dvorkin <mikhail.dvorkin@gmail.com>
Date: Thu, 27 May 2010 13:48:51 +0400
Message-ID: <AANLkTilXHUIin1JIHoaqXe8k_KVyyT3KN5ypFfXe6ll_@mail.gmail.com>
To: www-validator@w3.org
When validating an HTML5 document with the following tag:

<a href=" ">...</a>

(single space in href), the received error message looks strange:

"Bad value for attribute href on element a: DOUBLE_WHITESPACE in PATH."

Well, there is no double whitespace. Perhaps, this error message
should be revisited.
Thank you.
Here's a source code that allows you to reproduce the error message:

<!DOCTYPE HTML>
<html>
<head><title>Title</title></head>
<body>
<a href=" ">single space in href</a>
</body>
</html>
Received on Thursday, 27 May 2010 14:24:37 GMT

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