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

Re: CSS selectors and xml:id

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 09 May 2005 19:42:28 +0200
To: Chris Lilley <chris@w3.org>
Cc: www-style@w3.org, public-xml-core-wg@w3.org
Message-ID: <4298908b.343686625@smtp.bjoern.hoehrmann.de>

* Chris Lilley wrote:
>BH> Could you propose text that should be added?
>
>If an implementation supports CSS 2.1 and also supports xml:id, then the
>xml:id attribute must be treated as an ID for the purposes of CSS
>selector processing.

Okay, so, CSS 2.1 states

  The ID attribute of a document language allows authors to assign
  an identifier to one element instance in the document tree. CSS
  ID selectors match an element instance based on its identifier.

It seems that if your text is meant to change requirements for CSS 2.1
implementations, it must be possible to "support xml:id" in a way that
does not cause xml:id IDs (if any) to be assigned to an element. So it
seems that either adding this text as purely informational note to CSS
2.1 or changing the xml:id CR to prohibe such implementation (or both)
would be satisfactory to you.  If not, I am afraid I do not understand
the proposed text.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Monday, 9 May 2005 17:41:54 GMT

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