Details
-
Bug
-
Resolution: Fixed
-
None
-
Critical
-
FIX: pbt/ept tag pairs connected by RID may could not be paired anymore in T5 when singular-tags with conflicting namespaced id's are present
-
Empty show more show less
Description
XLIFF import: bpt/ept Tags, that are joined by RID-attribute (which superseeds ID attribute when given) are not matched anymore. The Matching algorithm fails to connect by RID with higher priority.
Fortunately for the FIX the tag-index/short-tag-nr of the closing tag is properly calculated and thus the fix is to identify the unmatched tags and set the opener-index to that of the closer.
It can happen, tag-indexes will be in the wrong order but this "anomaly" is consistent across sources and targets and thus is not neccessary to fix.
The Problem in the former implementation was, that when looping through the segments it was attempted to join segments, that had a "rid" attribute by "id" as well leading to a race-condition, which partner was found first (if a id-matched partner was also present)
Example
Faulty:
<4/><5/><6/><7/>Accordati con il <7><8/><9/><10/><11/><12/>dipendente sul raggiungimento degli obiettivi prima di compilare questa fase nel sistema </18><13/><14/><15/><16/><17/>.
Corrected:
<4/><5/><6/><7/>Accordati con il <18><8/><9/><10/><11/><12/>dipendente sul raggiungimento degli obiettivi prima di compilare questa fase nel sistema </18><13/><14/><15/><16/><17/>.
Imported XML of the segment
<trans-unit id="394" ax:state-name="Checked" ax:state-id="102" ax:state-flags="4194304"> <source> <bpt id="1" rid="1" ax:s-id="2" ax:s-is-base-style="True" ax:s-font-name="Calibri" ax:s-font-size="11.0" /> <ph id="3" ax:element-id="0">Hidden text</ph> <ph id="4" ax:element-id="1">Hidden text</ph> <ph id="5" ax:element-id="2">Hidden text</ph> <ph id="6" ax:element-id="3">Hidden text</ph> Please align on the achievement with your <ph id="7" ax:element-id="4">Hidden text</ph> <ph id="8" ax:element-id="5">Hidden text</ph> <ph id="9" ax:element-id="6">Hidden text</ph> <ph id="10" ax:element-id="7">Hidden text</ph> <ph id="11" ax:element-id="8">Hidden text</ph> employee prior to filling out this step in the <ph id="12" ax:element-id="9">Hidden text</ph> <ph id="13" ax:element-id="10">Hidden text</ph> <ph id="14" ax:element-id="11">Hidden text</ph> <ph id="15" ax:element-id="12">Hidden text</ph> <ph id="16" ax:element-id="13">Hidden text</ph> system. <ept id="2" rid="1" /> </source> <target> <bpt id="1" rid="1" ax:s-id="2" ax:s-is-base-style="True" ax:s-font-name="Calibri" ax:s-font-size="11.0" /> <ph id="5" ax:element-id="0">Hidden text</ph> <ph id="6" ax:element-id="1">Hidden text</ph> <ph id="7" ax:element-id="2">Hidden text</ph> <ph id="8" ax:element-id="3">Hidden text</ph> Accordati con il <bpt id="3" rid="2" ax:s-id="1" /> <ph id="9" ax:element-id="4">Hidden text</ph> <ph id="10" ax:element-id="5">Hidden text</ph> <ph id="11" ax:element-id="6">Hidden text</ph> <ph id="12" ax:element-id="7">Hidden text</ph> <ph id="13" ax:element-id="8">Hidden text</ph> dipendente sul raggiungimento degli obiettivi prima di compilare questa fase nel sistema <ept id="4" rid="2" /> <ph id="14" ax:element-id="9">Hidden text</ph> <ph id="15" ax:element-id="10">Hidden text</ph> <ph id="16" ax:element-id="11">Hidden text</ph> <ph id="17" ax:element-id="12">Hidden text</ph> <ph id="18" ax:element-id="13">Hidden text</ph>. <ept id="2" rid="1" /> </target> </trans-unit>