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

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

From: Jean-Jacques Solari <solarijj@me.com>
Date: Mon, 25 Mar 2013 08:30:42 +0000
Message-Id: <0A76AD68-5DDC-485F-83CF-06A4BB52FBCE@me.com>
To: www-style@w3.org
Hello there,

In the process of translating REC "Selectors level 3" into French, I stumbled upon what looks like an error, apparently the result of both some hasty copy-pasting and typo.

In section 10.2 Lexical scanner, second paragraph reads:

'The two occurrences of "\377" represent the highest character number that current versions of Flex can deal with (decimal 255). They should be read as "\4177777" (decimal 1114111), which is the highest possible code point in Unicode/ISO-10646.[UNICODE]'

(This paragraph is exactly the same as the one found in REC CSS2.1, at:
<http://www.w3.org/TR/CSS2/grammar.html#scanner>).


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.


Could you give some explanation about what is a correct value?

Regards,


-- 
Jean-Jacques SOLARI
Received on Thursday, 4 April 2013 09:59:57 UTC

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