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

Re: CSS selectors and xml:id

From: Chris Lilley <chris@w3.org>
Date: Wed, 4 May 2005 23:10:54 +0200
Message-ID: <762900937.20050504231054@w3.org>
To: Bert Bos <bert@w3.org>
Cc: Paul Grosso <pgrosso@arbortext.com>, www-style@w3.org, public-xml-core-wg@w3.org

On Wednesday, April 27, 2005, 10:08:09 PM, Bert wrote:


BB> On Wed, Apr 27, 2005 at 03:31:21PM -0400, Paul Grosso wrote:

>> Specifically, would it make sense for the CSS specification 
>> to state explicitly that attributes named xml:id will be 
>> treated as IDs when styling XML documents?

Yes, clearly that bit of direction would be helpful.

BB> I think it is better to keep the language abstract,

I fail to understand the phobia that seems to exist about mentioning the
XML specifications. Is CSS supposed to handle XML, or not?

BB> because there are no XML formats that allow xml:id yet,

This is clearly untrue.

BB> let alone formats that are supported by CSS UAs,

Also untrue, as Paul already mentioned

BB>  so we won't be able to test such a statement.

Clearly false, as Anne already made some test cases and there are
already implementations that pass them.

BB> And that would keep CSS 2.1 from exiting CR.

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.

Preferably before last call, although I can send in a last call comment
if you would prefer.



-- 
 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
Received on Wednesday, 4 May 2005 21:11:39 GMT

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