[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] 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]
Hi Yves, any more thoughts on this? From: Ryan King Yes, that is it exactly. Ryan From: Yves Savourel [mailto:ysavourel@enlaso.com]
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]
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]