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

Re: [VE][html5] and sign error on validation

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 23 Jun 2014 15:57:08 +0300
Message-ID: <53A82424.4080004@cs.tut.fi>
To: David Tilbrook <davetil@ddtil.com>, www-validator@w3.org
2014-06-22 15:28, David Tilbrook wrote:

> My website http://tax-cents.com is getting 8 validation errors due to
> the and sign.

Ignore these error messages, or write "&" as "&amp;". The latter is 
valid but reduces HTML source readability and introduces a small risk of 
making mistakes

> The problem here is, the and sign is part of a url and should not be in
> error.

That's no relevant. Character references are recognized in attribute 
values even if they represent URLs.

The relevant thing in principle is that you are using HTML5 in HTML 
syntax, and therefore e.g. "&site=" is valid, in an attribute value as 
well as elsewhere. But the HTML rules on this have a messy history, and 
the validator is now in conflict with HTML5 drafts.

> Please fix the validatior and advise me when you have fixed it so I can
> get a clean slate with the validator.

I'm afraid they won't fix it, because people who work on the validator 
think the behavior is correct and expect HTML5 to change.

For the record, I reopened a closed bug on this:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=12384

Note that the purpose of using a validator is to get error messages and 
warnings, to be duly considered, not to get a "clean report".

Yucca
Received on Monday, 23 June 2014 12:57:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:11 UTC