W3C home > Mailing lists > Public > public-multilingualweb-lt-comments@w3.org > February 2013

RE: [Issue-70] Defined order of precedence missing inherited local values [Action-437]

From: Fredrik Liden <fliden@enlaso.com>
Date: Fri, 22 Feb 2013 18:00:17 -0700
To: Felix Sasaki <fsasaki@w3.org>, "Dr. David Filip" <David.Filip@ul.ie>
CC: "public-multilingualweb-lt@w3.org" <public-multilingualweb-lt@w3.org>, "public-multilingualweb-lt-comments@w3.org" <public-multilingualweb-lt-comments@w3.org>
Message-ID: <4236658BB877A542A66660614300B18590011F7CF9@orion.helios.local>
Hi Felix, I was looking at Chase's example.


> *Section 5.5*
> The defined order of precedence includes (from highest to lowest
> priority):
>
>   * non-inherited local markup
>   * global selections in document via a rules element
>   * data category defaults
>
> This list seems to be missing inherited local markup.  Thus, the
> following structure is ambiguous:
>   <xml>
>     <its:rules>
>       <its:translateRule selector="//bar" translate="no" />
>     </its:rules>
>     <foo its:translate="yes">
>       <bar>Is this translatable?</bar>
>     </foo>
>   </xml>
>
> The <bar> element inherits a non-local "yes" value for its:translate,
> but is also subject to a "no" value via the global rule.  Which takes
> precedence?  As implementors, our instinct  is that the inherited
> local markup ("yes") has precedence, and the text is translatable.
>  However, this does not seem clear from the specification.



Here's a suggestion for the addition to 5.5 between "global selections" and "data category defaults". It should clarify the example if I'm not mistaken. Note though, he says "his instinct is that inherited local markup has precedence over global explicit rules" and this is currently not the case which might confuse other people. The more common case being <html translate=no> not overriding existing global rules on specific elements.



3.   Inheritance from a parent element node according to data category specific inheritance rules (inheritance<http://www.w3.org/TR/2012/WD-its20-20121206/#datacategories-defaults-etc>). ITS information is inherited from the closest parent itself selected via ITS markup or global rules. If said parent is selected via both explicit local ITS markup and global rules, the local ITS markup has precedence in the inheritance.



Cheers,

Fredrik



-----Original Message-----
From: Felix Sasaki [mailto:fsasaki@w3.org]
Sent: Friday, February 22, 2013 5:26 AM
To: Dr. David Filip
Cc: public-multilingualweb-lt@w3.org; public-multilingualweb-lt-comments@w3.org
Subject: Re: [Issue-70] Defined order of precedence missing inherited local values [Action-437]



Thanks for the ping, David. Is there a co-editor willing to take the action item including editing over (Arle, Jirka, Shaun, Yves)?



- Felix



Am 22.02.13 14:21, schrieb Dr. David Filip:

> Felix, this is just to inquire about the status of the editorial

> action-437 that is supposed to clarify the issue-70 raised based on

> the original comment from Chase Tingley.

> I have marked the Issue as accepted and editorial, please follow up

> with Chase after you have performed the clarification so that we know

> if the commenter is satisfied with the edit.

>

> Thanks

> dF

>

> Dr. David Filip

> =======================

> LRC | CNGL | LT-Web | CSIS

> University of Limerick, Ireland

> telephone: +353-6120-2781

> cellphone: +353-86-0222-158

> facsimile: +353-6120-2734

> mailto: david.filip@ul.ie<mailto:david.filip@ul.ie>

>
Received on Saturday, 23 February 2013 01:03:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 23 February 2013 01:03:11 GMT