Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3966

Ensure that SDLXLIFF changemarks and locked segments are working well together

    XMLWordPrintable

Details

    • Critical
    • The SDLXLIFF export of changemarks applied to locked tags may lead to invalid SDLXLIFF.

    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

          Activity

            People

              aleksandar Aleksandar Mitrev
              tlauria Thomas Lauria
              Sanya Mikhliaiev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: