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

Re: [css3-namespace] CSS Qualified Names and values of attributes

From: Werner Donné <werner.donne@re.be>
Date: Mon, 11 Sep 2006 11:19:21 +0200
Message-ID: <45052A19.1060004@re.be>
To: www-style@w3.org

Mark,

The CSS spec can indeed do this, but it can never work
through attribute values, because that would break the
fact that namespace prefixes are in document scope. As
a consequence, the XML vocabulary of the processed
document should provide, indeed, another way to declare
what the namespace of a class of an element is. This
may be yet another attribute, which would introduce a
new convention between this XML vocabulary and CSS. Note
that the privilege HTML has with its class attribute is
also just a convention.

The class attribute has served well for providing extensibility
to HTML and XHTML, but in the XML world such practice
should be deprecated, because we have namespaces. This
allows us to define new XML schemas that allow mixing in
elements and (global) attributes from other namespaces, which
offers extensibility through modularisation.

Regards,

Werner.
-- 
Werner Donné  --  Re
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be
Received on Monday, 11 September 2006 09:19:44 GMT

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