Re: [css3-selectors] Namespace name lookup mechanisms

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
http://lachy.id.au/

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