Yves, I am reacting to the use cases inline using my proposed algorithm..
I first thought that yours should produce the same results but probably not, as your question marks do not seem puzzling to me..
Cheers
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:
On Mon, Nov 4, 2013 at 7:43 PM, Yves Savourel <> wrote:
Maybe some use cases will help to clarify things.
-- case 1)
<unit id='1'>
<segment translate='no'>
<source>t1 <sm id='1' translate='yes'/></source>
</segment>
<segment translate='no'>
<source>t2 <em startRef='1'/>t3</source>
</segment>
-> t2 is translatable
-> t3 is not translatable
Agreed
-- case 2)
<unit id='1' translate='no'>
<segment translate='no'>
<source>t1 <sm id='1' translate='yes'/></source>
</segment>
<segment>
<source>t2 <em startRef='1'/>t3</source>
</segment>
-> t2 is translatable
-> t3 is not translatable
Agreed
-- case 3)
<unit id='1' translate='yes'>
<segment translate='no'>
<source>t1 <sm id='1' translate='yes'/></source>
</segment>
<segment>
<source>t2 <em startRef='1'/>t3</source>
</segment>
-> t2 is translatable
Agreed,
-> t3 is translatable or not???
IMHO t3 is translatable as well.
t1 is in scope of its <segment translate="no">, not overridden, hence not translatable
t3 is in scope of its <unit translate="yes"> inherited through its parent segment and not overridden by an <sm/>/<em/> pair, hence translatable.
I do not see why it should be even considered not translatable.. Where is the puzzle?
BTW, t2 is set as translatable twice (redundantly) in this example
-- case 4)
<unit id='1' translate='no'>
<segment translate='yes'>
<source>t1 <sm id='1' translate='no'/>t2 <sm id='2' translate='yes'/></source>
</segment>
<segment>
<source>t3 <em startRef='2'/>t4 <em startRef='1'/>t5</source>
</segment>
-> t3 is translatable
yes, the unit default is overridden by the <sm/>/<em/> pair #2
-> t4 is not translatable
yes, the unit default is redundantly confirmed by the <sm/>/<em/> pair #1
-> t5 is translatable or not???
is not translatable by its unit default, this has not been overridden by anything, again where is the puzzle?
-- case 5)
<unit id='1' translate='no'>
<segment translate='yes'>
<source>t1 <sm id='1' translate='no'/>t2 <sm id='2' translate='yes'/></source>
</segment>
<segment translate='yes'>
<source>t3 <em startRef='2'/>t4 </source>
</segment>
<segment>
<source><em startRef='1'/>t5</source>
</segment>
-> t3 is translatable
I agree, the inner <sm/>/<em/> wins over the outer
-> t4 is not translatable (the translate='yes' in that <segment> is non-applicable)
it applies but is enclosed in the overriding <sm/>/<em/> pair #1
-> t5 is translatable or not???
t5 is not translatable by its unit default that has been neither flipped on segment nor overridden by an <sm/>/<em/> pair.
-ys
---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail. Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php