W3C home > Mailing lists > Public > www-style@w3.org > April 2013

Re: [css3-selectors] Selectors level 3 - Lexical scanner error

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 04 Apr 2013 12:30:27 +0200
To: Jean-Jacques Solari <solarijj@me.com>
Cc: www-style@w3.org
Message-ID: <9vkql81f7pif2mq5a1ill0nvbttnudhe2q@hive.bjoern.hoehrmann.de>
* Jean-Jacques Solari wrote:
>The most likely place where you would be finding "\377" is in:
>
>…
>nonascii[^\Ø-\177]
>…
>
>But one reads "\177", not "\377", and it is even less to be read twice 
>in the tokenization as advertised in the paragraph.

That paragraph is obviously mistaken considering `377` does not appear
in the document anywhere else, but the `177` is not meant as `377`. I am
not sure where the `Ø` is from, in the Recommendation it is

  nonascii  [^\0-\177]

which is anything but 0x00 .. 0x7F, in other words, 0x80 .. 0xFF if the
maximum value is 0xFF (0o377 in octal). It can't be 0o377 because then
the set would be empty (anything but <minimum> ... <maximum>).
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Thursday, 4 April 2013 10:30:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:10 UTC