W3C home > Mailing lists > Public > www-style@w3.org > October 2006

Re: [css3-selectors] Namespace name lookup mechanisms

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 30 Oct 2006 09:24:58 -0500
Message-ID: <45460B3A.8030700@inkedblade.net>
To: www-style@w3.org, Daniel Glazman <daniel@glazman.org>

Lachlan Hunt wrote:
> 
> Bjoern Hoehrmann wrote:
>>   * XBL 2.0 [...] does not explain how to resolve conflicts between
>>     namespace prefixes in selectors being case-insensitive, and prefixes
>>      in Namespaces in XML being case-sensitive.
> 
>>   * "Selectors API" [...] does not define how to handle case diferences
>>     either,
> 
> I think the best way to handle this would be for the Selectors spec to 
> define that the case sensitivity of the namespace prefix depends upon 
> the mechanism used to declare it.
> 
> I think it could possibly be handled by adding a statement like the 
> following to the Case sensitivity section [1]:
> 
>   The case sensitivity of namespace prefixes in selectors depends on the
>   mechanism used to declare them. For example, prefixes declared using
>   @namespace in CSS are case-insensitive, whereas prefixes declared
>   using xmlns are case-sensitive.
> 
> [1] http://www.w3.org/TR/2005/WD-css3-selectors-20051215/#casesens

Nice. That would also match the way element type selectors behave.

~fantasai
Received on Monday, 30 October 2006 14:31:34 GMT

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