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

Re: Question about selector scope and rule order

From: Felix Sasaki <fsasaki@w3.org>
Date: Tue, 14 Mar 2006 00:19:55 +0900
Message-ID: <44158D9B.1030108@w3.org>
To: Sebastian Rahtz <Sebastian.Rahtz@oucs.ox.ac.uk>
Cc: Yves Savourel <yves@opentag.com>, public-i18n-its@w3.org
Sebastian Rahtz wrote:
> 
> 
> 
> 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
>  //y
> comes after
>  //x//y
> 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?

I have no preference, we should just decide on s.t. , and make it clear
in the draft.

- Felix


Received on Monday, 13 March 2006 15:20:02 UTC

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