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: Felix Sasaki <fsasaki@w3.org>
Date: Fri, 22 Feb 2013 18:51:24 +0100
Message-ID: <5127B01C.6090704@w3.org>
To: Yves Savourel <ysavourel@enlaso.com>
CC: public-multilingualweb-lt@w3.org
Thanks, Yves.

Sorry for more questions ... but if we say in the ITS2 spec " a tool 
SHOULD" implement these rules, this might happen:

1) local markup author creates <span its-within-text="no"><span> 
...</span></span>, assuming that the inheritance from the outer span 
will have its-within-text="no" also for the inner span
2) the "local markup autho"r does not know whether an ITS tool 
implementating "Translate" will apply the defaults or not
3) we won't have interop between tools.

We could avoid that with a "MUST" statement: a tool implementing ITS for 
a given data category MUST take the defaults into account. But that 
would mean having test cases with default / not default rules. Actually 
I think this would be good to assure more interop. But it would take 
time. Are we willing to take that time?

Then, another question: do we expect all HTML implementing tools to 
implement the defaults? Or only the "global rules" implementers. That 
is, if I say "I implement HTML support locally": can local rules authors 
expect a "default" support, even if the tool does not implement general 
global rules?

Best,

Felix

Am 22.02.13 17:42, schrieb Yves Savourel:
>>>> <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 17:51:54 UTC

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