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

>>> <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