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

Re: [css3-namespace] Case sensitivity and XML namespace in document.

From: Werner Donné <werner.donne@re.be>
Date: Mon, 11 Sep 2006 09:13:35 +0200
Message-ID: <45050C9F.2050805@re.be>
To: www-style@w3.org

body > dc:title will not have a text-align property, while
body > DC:title will have a text-align property with the
value "center", because dc|title comes after DC|title.

There is no problem, since prefixes are local. The dc and DC
prefixes declared on the html element have no relation with
the CSS prefixes declared in the style elements. What matters
is the URI to which an element is bound, i.e. the expanded
name of the element.

CSS can apply other rules to declare a binding between an
element and a namespace URI. Possible conflicts are resolved
within the CSS document. The only convention is that namespaces
are created through binding URIs to local element names.

Having said that, I should add that I dislike case-insensitiveness
in any form. It has no advantage and only complicates string

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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:18 UTC