W3C home > Mailing lists > Public > www-style@w3.org > August 2007

What is the set of allowed characters in identifiers?

From: Eli Friedman <sharparrow1@yahoo.com>
Date: Thu, 23 Aug 2007 19:14:02 -0700 (PDT)
To: www-style@w3.org
Message-ID: <823617.79451.qm@web52104.mail.re2.yahoo.com>

My question: Are the code points from 128 to 160 valid identifier
characters?

The CSS2.1 draft doesn't give a clear answer.  The prose in 4.1.3 says
that they are not allowed in identifiers, but the definition of the
IDENT token in 4.1.1 says that they are allowed.

IMO, it seems simpler to allow them instead of making an exception for
an arbitrary set of control characters.  It should definitely be
decided one way or the other, though.

-Eli


      ____________________________________________________________________________________
Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
Received on Friday, 24 August 2007 02:14:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:52 GMT