W3C home > Mailing lists > Public > www-style@w3.org > June 2005

Re: [CSS21] Please endorse xml:id

From: Christoph Päper <christoph.paeper@tu-clausthal.de>
Date: Thu, 30 Jun 2005 22:12:55 +0200
Message-ID: <42C45247.9070304@tu-clausthal.de>
To: www-style@w3.org

Norman Walsh:
> I think it would be of benefit to the community if the CSS 2.1 draft
> suggested that implementations of CSS 2.1 applied to XML documents
> <rfc2119>should</rfc2119> support the xml:id specification.

Either I do not understand this request correctly or it is just plain
stup---um---needless.

If an application, that applies CSS onto XML (or a document tree
generated thereof), happens to support 'xml:id' in XML, it is of course
reasonable and consequent to have the '#' selector work with it (and
"[xml\:id]", "[id]", "[xml|id]"). I do not believe any developer of such 
an application would not implement that, even without any mention of it 
in any standard.
It is quite comparable to 'xml:lang' and ':lang()', which AFAIK is not 
required either. Or to any (SGML or XML) attribute that is DTDed as 
'ID', but IIRC the note on that has been dropped in CSS 2.1.

If an application, that applies CSS onto XML, does not support 'xml:id',
there is no need on the behalf of CSS to require anything more from it
than it currently does.

So maybe you can make a note or an example on 'xml:id' in the CSS
specification, but to require it (SHOULD or MUST) is way too much.


	Christoph Päper
Received on Thursday, 30 June 2005 20:13:02 GMT

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