Re: CSS selectors and xml:id

* 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 UTC