W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > May 2005

Re: CSS selectors and xml:id

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 08 May 2005 17:10:19 +0200
To: Chris Lilley <chris@w3.org>
Cc: www-style@w3.org, public-xml-core-wg@w3.org
Message-ID: <42832405.250367890@smtp.bjoern.hoehrmann.de>

* Chris Lilley wrote:
>Clearly false, as Anne already made some test cases and there are
>already implementations that pass them.

http://annevankesteren.nl/test/xml/xml-id/001.xml
http://annevankesteren.nl/test/xml/xml-id/002.xml

  -> These tests do not make much sense to me.

http://annevankesteren.nl/test/xml/xml-id/003.xml
http://annevankesteren.nl/test/xml/xml-id/004.xml

  -> the style sheets are invalid and background:lime is not
     part of them, any implementation that passes the tests
     is broken

http://annevankesteren.nl/test/xml/xml-id/005.html
http://annevankesteren.nl/test/xml/xml-id/006.html
http://annevankesteren.nl/test/xml/xml-id/a.html

  -> these are not HTML documents, any random behavior would be
     conforming.

So 3 of 7 tests actually try to test that xml:id is not supported,
2 of the remaining 4 tests require non-compliant behavior to pass,
and the remaining two tests assume weird application/xml and XHTML
processing semantics that are not defined anywhere. So I somewhat
fail to see the relevance of these tests.

>No, it wouldn't. So, please add specific language to CSS 2.1 to state
>explicitly that xml:id is treated as ID for the purpose of the #
>selector.

Could you propose text that should be added? There seem to be lots of
cross-technology and error handling issues here as xml:id does not
define its integration into deployed architecture, defining this for
CSS such that xml:id processing is consistent everywhere seems a bit
challenging. I guess you want similar statements regarding xml:lang
aswell?
-- 
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 Sunday, 8 May 2005 15:09:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:32 GMT