Ensure that SDLXLIFF changemarks and locked segments are working well together

XMLWordPrintable

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

      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.

            Assignee:
            Aleksandar Mitrev
            Reporter:
            Thomas Lauria
            None
            None
            Sanya Mikhliaiev
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None