Details
-
Bug
-
Resolution: Fixed
-
None
-
Critical
-
The SDLXLIFF export of changemarks applied to locked tags may lead to invalid SDLXLIFF.
-
Empty show more show less
Description
problem
If locked tags are moved and the sdlxliff is exported then with change marks enabled, such construction is produced:
<add><lock xid=123></add> text <del><lock xid=123></del>
now the xid is duplicated which leads to invalid (non importable) SDLXLIFF.
solution
change the currently implemented algorithm of TRANSLATE-3420 in the following way:
Collect all duplicated locked tags, regardless if in source or target. Clone the referenced transunit with a new id, and use that id as xid in the locked tag.
This approach was tested with the non working export if TS-3231 and was then importable in Trados.
Contact Sasha about how to embed that in the SDLXLIFF tests.
Attachments
Issue Links
- is caused by
-
TRANSLATE-3420 SDLxliff corrupt after export, if imported untranslated into translate5 and containing internal tags of type locked
- Done
-
TRANSLATE-3534 TrackChanges sdlxliff round-trip
- Done