W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2011

[Bug 14628] <track> In step 6-7, only consume the character if it is a ':'

From: <bugzilla@jessica.w3.org>
Date: Mon, 31 Oct 2011 13:23:12 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RKrpY-0003j0-Kf@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14628

Fredrik Söderquist <fs@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fs@opera.com
            Summary|In step 6-7, only consume   |<track> In step 6-7, only
                   |the character if it is a    |consume the character if it
                   |':'                         |is a ':'

--- Comment #1 from Fredrik Söderquist <fs@opera.com> 2011-10-31 13:23:11 UTC ---
It seems it would be better from an error recovery PoV to not consume a
character in step 7 unless it was a colon.

Consider the input "X A:middle".

Step 4 reads and consumes the "X".
Step 6 sets 'setting' to "" (since " " != ":").
Step 7 consumes " ".
Step 9 consumes the rest of the string (via "Otherwise...").

If steps 6-7 did not consume anything but a ':', it would instead be:

Step 4 reads and consumes the "X".
Step 6 sets 'setting' to "" (since " " != ":").
Step 9 consumes nothing
Step 4 reads and consumes the "A"
...

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 31 October 2011 13:23:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:06 UTC