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

Re: [css3-namespace] clarification on 'no namespace'

From: David Håsäther <hasather@gmail.com>
Date: Sat, 21 Oct 2006 18:54:10 +0200
Message-ID: <453A50B2.9010302@gmail.com>
To: BachusII <BachusII@planet.nl>
CC: W3C CSS List <www-style@w3.org>

On 2006-10-21 18:31, BachusII wrote:

> Chapter 4 "CSS Qualified Names" [3] of the WD [1,2] mentions "no namespace".
> 
> Does "no namespace" equal the default namespace if one is declared?
> Meaning "|B" and "D" in example 2 share the same
> universe/reality/an_appropriate_metaphor.

No. "|B" would match a B element that is not in a namespace, e.g.

   <B xmlns=""/>

whereas "D" would match a D element in the default namespace declared in 
the CSS file, in this case "http://example.com/foo", e.g.

   <D xmlns="http://example.com/foo"/>

-- 
David Håsäther
Received on Saturday, 21 October 2006 16:56:26 GMT

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