Re: [VE] [html5] The character & in the query string

2014-07-31 10:41, David Dorward wrote:

> On 30 Jul 2014, at 10:31, czibolya wrote:
>
>> The character & in the query string of the address is not an error. It is
>> just the separator.
>
> Please see the FAQ: http://validator.w3.org/docs/help.html#faq-ampersand

That entry is just a reference to a vintage document
http://www.htmlhelp.com/tools/validator/problems.html#amp
which deals with HTML up HTML 4 only. The error message quoted relates 
to validating against HTML5.

For HTML5, the issue is messy and varies from draft to draft. Currently, 
in W3C HTML5 LC, the description of HTML parsing (!) at
http://www.w3.org/TR/html5/syntax.html#consume-a-character-reference
seem to say, in a fairly complicated manner, that &sp_id=551 in an 
attribute value causes “parse error” – even though browsers are required 
to process it so that “&” is taken as just a data character.

Yucca

Received on Thursday, 31 July 2014 08:21:35 UTC