OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xliff message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: CanReorder Validation error


Hi all,

 

Wondering if there are any suggestions from the discussion list.

 

Thanks,

Ryan

 

From: Yves Savourel [mailto:ysavourel@enlaso.com]
Sent: Tuesday, September 22, 2015 10:20 AM
To: Ryan King <ryanki@microsoft.com>
Subject: RE: [QUAR] RE: CanReorder Validation error

 

Hi Ryan,

 

Alas, the only conclusion I came up with (so far) has been that it wasn’t possible to represent nested sequences with the current specification.

 

Maybe there is something we are missing.

You should post the issue on the list, maybe Fredrik or David have ideas about this case.

 

Cheers,

-ys

 

From: Ryan King [mailto:ryanki@microsoft.com]
Sent: Tuesday, September 22, 2015 10:36 AM
To: Ryan King <ryanki@microsoft.com>; Yves Savourel <ysavourel@enlaso.com>
Subject: [QUAR] RE: CanReorder Validation error

 

Hi Yves, any more thoughts on this?

Thanks,
Ryan


From: Ryan King
Sent: ‎9/‎4/‎2015 10:01 AM
To: Yves Savourel
Subject: RE: CanReorder Validation error

Yes, that is it exactly.

 

Ryan

 

From: Yves Savourel [mailto:ysavourel@enlaso.com]
Sent: Friday, September 4, 2015 4:57 AM
To: Ryan King <ryanki@microsoft.com>
Subject: RE: CanReorder Validation error

 

On second though this is more complicated. You case has the <ph canReorder=’yes’/> between the <sc/> and <ec/>.

I’m not sure what that means with the <ec/> after: that you can’t reorder the <sc>/<ec> but can reorder the <ph>? I’m trying to think of a real scenario.

 

Maybe:

 

<b> text with %1s and %2s </b>

 

The % codes could be reordered, but they must stay within the bold.

 

...nested sequences. Hum. I wonder if we explored such case.

 

Some thinking to do.

-yves

 

 

From: Ryan King [mailto:ryanki@microsoft.com]
Sent: Friday, September 4, 2015 12:58 AM
To: Yves Savourel <ysavourel@enlaso.com>
Subject: CanReorder Validation error

 

Last one, I hope. I’m not sure how to handle this test case. The error from http://okapi-lynx.appspot.com/validation page doesn’t make sense to me. Is this a valid document or not? Specifically the sc and ec tags have to have matching canReorder values, but do they also have to be in the same sequence?

 

Error in <file> id='f1', <unit> id='1'

Last element read: '{urn:oasis:names:tc:xliff:document:2.0}unit':

Marker id='1' in has canReorder='no' but starts a sequence and should have canReorder='firstNo'.

 

<?xml version="1.0"?>

<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en">

<file id="f1">

  <unit id="1">

   <segment>

    <source>

 

<sc id="1" canReorder="firstNo" canCopy="no" canDelete="no"/>

<pc id="x" />

<ec startRef="1" canReorder="firstNo" canCopy="no" canDelete="no"/>

 

    </source>

   </segment>

  </unit>

</file>

</xliff>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]