Wrong Original Targets with XLIFF 2.0

Description

Orginal targets are placed in the wrong segments when Ocelot reads a XLIFF 2.0 file that has a unit element containing more than one segment.

The bug is generated by the Change Tracking module in the unit, having a "revisions" element with the attribute appliesTo set to "target" and no "ref" attribute set. As more than a target exists for that unit, than a random target is picked.

Environment

None

Status

Assignee

Marta Borriello

Reporter

Marta Borriello

Labels

None

Fix versions

Affects versions

2.2

Priority

Minor
Configure