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

Mixing XLF id and rid values led to wrong tag numbering

    XMLWordPrintable

Details

    • High
    • When in some paired XLF tags the rid was used, and in others the id to pair the tags, this could lead to duplicated tag numbers.
    • -

    Description

      Problem:

      When in some paired XLF tags the rid was used, and in others the id to pair the tags, this could lead to duplicated tag numbers:

      Reason:

      The XLF Import had a problem when rid and id tags were mixed and used both:

      For example the <1> tags in the source:

      <bpt id="1" ctype="bold">{}</bpt>
      <bpt id="2" rid="1">&lt;uf ufcatid=&quot;2&quot;&gt;</bpt>
      1
      <ept id="1">{}</ept>
      <ept id="3" rid="1">&lt;/uf&gt;</ept>
      

      In the second tag pairs a rid=1 is used, which the XLF import linked to the tags with id=1. This is fixed, so that only rid matches to rid values, and id values are matching id values.

      Attachments

        Issue Links

          Activity

            People

              tlauria Thomas Lauria
              tlauria Thomas Lauria
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: