Re: [css3-selectors] Namespace name lookup mechanisms

* Lachlan Hunt wrote:
>Daniel Glazman wrote:
>> fantasai wrote:
>>> The CSS Working Group has accepted your proposed wording for the 
>>> Selectors specification with the change s/depends on/is defined by/.
>> 
>> What happens if the document defines namespace prefix FOO for a given
>> URI and the stylesheet defines prefix foo for another URI ?
>
>In a stylesheet, namespace prefixes are defined by @namespace.  It 
>doesn't matter what prefixes the document defines, they are independent 
>from each other and completely unrelated to this issue.

The text you proposed defines that the case-sensitivity depends on the
declaration mechanism. Daniel is asking: what if there are multiple
mechanisms? The proposed text does not say there can only be a single
mechanism, and I think it is reasonable for there to be multiple ones
in some environments.

This problem would be avoided by specifying that prefixes that differ
only in case may be treated differently, and that other specifications
are responsible to define how to find the namespace name for a prefix
(rather than defining whether the prefix is case-sensitive). That was
my initial suggestion in this thread.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Friday, 29 June 2007 12:27:54 UTC