W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2013

[whatwg] Attribute value (double-quoted) state

From: Mohammad Al Houssami (Alumni) <mha53@mail.aub.edu>
Date: Mon, 25 Mar 2013 11:45:54 +0000
To: "whatwg@lists.whatwg.org" <whatwg@lists.whatwg.org>
Message-ID: <0F8BA5A0576A5F44B0D188C2628265DA406AD0F5@DBXPRD0611MB559.eurprd06.prod.outlook.com>
Hello everyone,
Can someone explain wat is meant in the attribute value double quoted state in the tokenization specs : http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#attribute-value-%28double-quoted%29-state
It says the below.
U+0026 AMPERSAND (&)
Switch to the character reference in attribute value state<http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#character-reference-in-attribute-value-state>, with the additional allowed character<http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#additional-allowed-character> being U+0022 QUOTATION MARK (").
What does the additional allowed character mean? It says the following:
The additional allowed character, if there is one
Not a character reference. No characters are consumed, and nothing is returned. (This is not an error, either.)

It didn't make any sense to me. Im still a beginner and know very few things about this and im trying to build a parser.
Any help or explanation would be very much appreciated.

Thank in advance
Received on Monday, 25 March 2013 11:46:27 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:56 UTC