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

Re: [css3-namespace] Abstract section clarity

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 16 Sep 2006 22:28:06 +1200
Message-ID: <450BD1B6.6050808@inkedblade.net>
To: karl@w3.org
CC: www-style@w3.org

karl@w3.org wrote:
> Hi,
> This is a QA Review comment for "CSS Module: Namespaces"
> http://www.w3.org/TR/2006/WD-css3-namespace-20060828/
> 2006-08-28
> 2nd WD
> 
> About http://www.w3.org/TR/2006/WD-css3-namespace-20060828/#abstract
> 
> The Abstract section mentions namespaces, but it is not said that it is XML namespaces.

This specification isn't about XML namespaces. It's about namespaces in general.
They could be XML namespaces used in selectors in CSS, or event namespaces used
in property values in some "scripting sheets" language. It doesn't matter; the
spec only
   a) defines syntax to bind prefixes to namespaces
   b) defines syntax to represent namespace-qualified names
It doesn't define the semantics of the names. That depends on the context, and
is defined by a host language (such as CSS Selectors) that uses the syntax
defined in this module.

> CSS is having its own mechanism for namespaces as well (aka -moz- for example.) 
> It would be better to really define which one the specification is talking about.

-moz- is a vendor extension. It's not a namespace, it's just a naming convention
to avoid clashes in vendor-specific CSS properties and values. While these
properties and values conform to the core parsing grammar, they are not actually
valid CSS.

~fantasai
Received on Saturday, 16 September 2006 10:28:30 GMT

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