W3C home > Mailing lists > Public > public-i18n-its@w3.org > January to March 2006

Re: Question about selector scope and rule order

From: Sebastian Rahtz <Sebastian.Rahtz@oucs.ox.ac.uk>
Date: Mon, 13 Mar 2006 12:16:38 +0000
Message-ID: <441562A6.4080100@oucs.ox.ac.uk>
To: Felix Sasaki <fsasaki@w3.org>
CC: Yves Savourel <yves@opentag.com>, public-i18n-its@w3.org

Felix Sasaki wrote:

>> In other words: the selector points to one or more nodes, we apply the 
>> ITS property there. If there are already ITS properties
>> applied in some children of these nodes are they overriden or not?

that depends on the order of the rules. if
comes after
then the second rule wins

> I would say you don't need to do an override: In my XQuery 
> implementation, XPath expressions like "//text[@localize='no']" are 
> interpreted as "//text[@localize='no']/descendant-or-self::*". How about 
> you, Sebastian?

I don't think I agree. My view is that only "translate" is inherited,
not "localize". I think the selector should be "//text//*" for localize,
if that is really want is meant.

Or do we expect "localize" to be inherited?

Sebastian Rahtz

*Open Source and Sustainability*
10-12 April 2006, Oxford

Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

OSS Watch: JISC Open Source Advisory Service
Received on Monday, 13 March 2006 12:18:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:43:06 UTC