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

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