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

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

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Thu, 31 Jul 2014 11:21:05 +0300
Message-ID: <53D9FC71.9010309@cs.tut.fi>
To: "www-validator@w3.org" <www-validator@w3.org>, czibolya <l.czibolya@atomforum.hu>
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

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