[CSS21] minor issue: location of comment tokens

Somebody sent me e-mail asking if it was intentional that there may not 
be a comment at the start of a style sheet, because the text[1] 
says "[COMMENT tokens] may appear anywhere *between* other tokens" (my 
emphasis).

That's certainly not the intention. The "between" is there to remind 
people that comments cannot be *inside* tokens. I.e., "1/*...*/0" gives 
separate tokens "1" and "0" and not a single "10" token. Comments may 
occur before or after other tokens and may even appear in style sheets 
that have no other tokens at all.

I propose to simply remove the offending phrase. In other words, change 
in section 4.1.1 (Tokenization) the phrase:

    may appear anywhere between other tokens
to
    may appear anywhere

I believe this is editorial. (The phrase "between other tokens" was 
added in 1998, when we weren't as careful with the language as we are 
now...)

[1] 
http://www.w3.org/TR/2007/CR-CSS21-20070719/syndata.html#tokenization



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France

Received on Tuesday, 25 November 2008 13:40:41 UTC