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

Re: [css3-selectors] Namespace name lookup mechanisms

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Tue, 31 Oct 2006 00:48:03 +1100
Message-ID: <45460293.2060300@lachy.id.au>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
CC: www-style@w3.org

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

Lachlan Hunt
Received on Monday, 30 October 2006 13:48:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:26 UTC