W3C home > Mailing lists > Public > www-style@w3.org > February 2010

Re: [css21] ident production does not match <identifier>

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 15 Feb 2010 11:14:35 -0600
Message-ID: <dd0fbad1002150914k40201239qe9bdb6ca3fde0b2e@mail.gmail.com>
To: Jonathan Kew <jonathan@jfkew.plus.com>
Cc: Anne van Kesteren <annevk@opera.com>, CSS WG <www-style@w3.org>
On Mon, Feb 15, 2010 at 11:08 AM, Jonathan Kew <jonathan@jfkew.plus.com> wrote:
> On 15 Feb 2010, at 16:24, Anne van Kesteren wrote:
>> http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier mentions U+00A1 which has number 161 and seems about right. Yet the grammar defines nonascii as anything beyond 177 which is U+00B1 which does not really make sense to me. Thinking about it some more explicitly excluding 127-160 does not really seem needed either to me and maybe they should become part of nonascii (would also make the name somewhat more logical).
>> Am I missing something?
> I take it you're referring to the line
>        nonascii        [^\0-\177]
> The \177 there is an OCTAL escape, so that means 127 decimal / 0x7f hex, which is correct for the ASCII range.

Argh, octal is never a good idea for anything ever.  >_<  It always
causes far more confusion than can be justified by the benefits of
using it.

Received on Monday, 15 February 2010 17:15:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:32 UTC