Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-68098

QT linguist expands XML entities in XLIFF ids

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P5: Not important
    • None
    • 5.10.1
    • Tools: Linguist
    • None
    • Tested on Window 10.

    Description

      If an XLIFF segment's id contains XML entities, they are resolved and saved in plain text.

      Eg :

      A file containing this

      <trans-unit xml:space="preserve" id="foo &quot;bar&quot; baz" approved="yes">
        <source>XXX</source>
        <target state="translated">YYY</target>
      </trans-unit>

      will be saved like this

      <trans-unit xml:space="preserve" id="foo "bar" baz" approved="yes">
        <source>XXX</source>
        <target state="translated">YYY</target>
      </trans-unit>

      After that, even QT Linguist will be unable to read the file.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kkohne Kai Köhne
              yann.leydier_stormshield.eu yann.leydier_stormshield.eu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes