W3C home > Mailing lists > Public > www-style@w3.org > June 2007

Re: [css3-selectors] Namespace name lookup mechanisms

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 29 Jun 2007 14:27:38 +0200
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Cc: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, www-style@w3.org
Message-ID: <qmt98313jr4ekkn4illod79ing8kjh3bic@hive.bjoern.hoehrmann.de>

* 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

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