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


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.


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 UTC

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