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

QT linguist expands XML entities in XLIFF ids

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes