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

On Mon, 15 Feb 2010 18:08:35 +0100, 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.

Ah, thanks, so it's the U+00A1 reference that's weird.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Monday, 15 February 2010 17:16:41 UTC