W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2009

[Bug 5586] Comment in selector before > operator - [regression!] - in development snapshot only

From: <bugzilla@wiggum.w3.org>
Date: Thu, 05 Feb 2009 17:37:19 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1LV8AB-0004Zs-11@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5586





--- Comment #4 from Yves Lafon <ylafon@w3.org>  2009-02-05 17:37:18 ---
Hum... I see why.

COMMENT has been declared as a special token to be able to detect its presence
in @charset and report it.

In the case of the combinators, it generates a match because of this:

    ( (   <PLUS> { connector = '+' ; }
        | <GREATER> { connector = '>' ; }
        | <TILDE> { connector = '~' ; }
      ) ( <S> )* 
    | ( <S> )+ { connector = ' ' ; }
    )

Doing a/**/ > b will work, as the special token is there before a <S> is
parsed, however in the a /**/ > b case, the special token forces the match
(<S>+) and exist form the combinator matching part.

More in this soon (I hope).


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 5 February 2009 17:37:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:08 GMT