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

RE: ACTION-447: Make a batch transformation of the test suite to xliff

From: Yves Savourel <ysavourel@enlaso.com>
Date: Fri, 22 Feb 2013 09:42:37 -0700
To: "'Felix Sasaki'" <fsasaki@w3.org>
CC: <public-multilingualweb-lt@w3.org>
Message-ID: <00c101ce111b$ef1cbbf0$cd5633d0$@com>
>>> <span its-within-text="no"><span> ...</span></span> the inner span 
>>> would be overriden by the <its:withinTextRule withinText="yes"
>>>   selector="//h:abbr | //h:acronym | //h:br | //h:cite | //h:code | //h:dfn
>>>   | //h:kbd | //h:q | //h:samp | //h:span | //h:strong | //h:var | //h:b | //h:em
>>>   | //h:big | //h:hr | //h:i | //h:small | //h:sub | //h:sup | //h:tt | //h:del
>>>   | //h:ins | //h:bdo | //h:img | //h:a | //h:font | //h:center | //h:s | //h:strike
>>>   | //h:u | //h:isindex" />
>>> Taken from
>>> http://www.w3.org/TR/xml-i18n-bp/#relating-its-plus-xhtml
>> Mmm... You mean the reverse: The local its-within-text="no" markup would override the global (default) rules, right?
>
> Actually: no. In my example there is a span nexted in the span with local 
> its-within-text="no". Global rules have higher precedence than inherited 
> values. So I thought that the nested span would be nested="yes".

Oh, I completely missed the inner <span>. Yes you are right: that one would be its-within-text='yes' based on the rules. And since it is set by the rules it can 'inherit' within-text='no' from its parent <span>.

we agree.

-ys
Received on Friday, 22 February 2013 16:45:24 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 9 June 2013 00:25:08 UTC