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

XLIFF 2.1 Export creates invalid XML

    XMLWordPrintable

Details

    Description

      Since version 3.2.2 produces the XLIFF 2.1 export invalid XML. 

      Reason: one of the explaining comments in the XLF file contains multiple "-" dash signs in a row. This makes the XML invalid.

      xmllint sais:

      {{xmllint export-2019-07-09-08-26-43.xliff }}

      export-2019-07-09-08-26-43.xliff:37: parser error : Double hyphen within comment: <!--

      translate5 autostates show the segment state more

      --------------------------------------------------------------------------------

      ^

      export-2019-07-09-08-26-43.xliff:37: parser error : Double hyphen within comment: <!--

      translate5 autostates show the segment state more

      --------------------------------------------------------------------------------

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: