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

xliff 1.2 import fails if a g tag contains a mrk segment tag

    • Critical
    • The XLF import fails if there are g tags surrounding the mrk segmentation tags.

      problem

      The import of following XLF structures is failing:

      <g><mrk mtype="seg">Und das Dach ist rot.</mrk></g>

      Error message:

      ERRORE1195 (# 48074) editor.import.fileparser.xlf → editor_Models_Import_FileParser_Xlf_Exception: A trans-unit of file "09-Translate
      2786-en-de.xlf" contains MRK tags other than type=seg, which are currently not supported! Stop Import

      reason

      Basically no other content is allowed outside the mrk segmentation tags.

      possible fix

      Allow other content if it is tag content only.

      Also we said, that we in the future will generally allow, that content is outside of mrk-Tags by using the existing mechanism, where the number of source and target segments of one trans-unit does not have to be the same.

          [TRANSLATE-2786] xliff 1.2 import fails if a g tag contains a mrk segment tag

          There are no comments yet on this issue.

            tlauria Thomas Lauria
            marcmittag Marc Mittag [Administrator]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: