W3C home > Mailing lists > Public > www-style@w3.org > September 2006

Re: [css3-namespace] XML Core WG's review

From: Karl Dubost <karl@w3.org>
Date: Thu, 7 Sep 2006 13:34:45 +0900
Message-Id: <3D148A68-01D4-4A2F-8ECD-B1BFDC0E2C3F@w3.org>
Cc: pgrosso@ptc.com, www-style@w3.org
To: Boris Zbarsky <bzbarsky@mit.edu>

It is always better to devise on a test case.

Le 7 sept. 06 à 13:00, Boris Zbarsky a écrit :
> That's not true, due to point (b) in Paul's mail.
>> See rationale and example in
>> http://lists.w3.org/Archives/Public/www-style/2006Sep/0033
> That example makes the incorrect assumption that CSS and XML  
> prefixes need to be identical.  They do not; only the namespaces  
> need to match.

Example with this new assertion:

<html xmlns="http://www.w3.org/2002/06/xhtml2/"
      <title>Some Document</title>
	 <style type="text/css">
	    @namespace dc "http://dublincore.org/documents/dcmi-namespace/";
	    @namespace foo "http://foo.example.org/";
	    foo|title {text-align: left;}
	    dc|title {text-align: center;}
      <dc:title><cite href="urn:isbn:0060006994">Fix-it Duck</cite></ 

Will it effectively style the two elements?
    - "Fix-it Duck"     centered
    - "Doctor"          left justified

If yes, then the issue will be moved from conflicts to clarity in the  
specification with more prose and give an example.

Thanks for the clarification Boris.

Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***
Received on Thursday, 7 September 2006 04:35:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:26 UTC