-
Bug
-
Resolution: Unresolved
-
P5: Not important
-
None
-
5.10.1
-
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 "bar" 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.
- relates to
-
QTBUG-53991 lupdate does not encode the values in the id attribute
-
- Reported
-
| For Gerrit Dashboard: QTBUG-68098 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 620896,3 | linguist: protect message ID characters in XLIFF files | dev | qt/qttools | Status: MERGED | +2 | 0 |