Details
-
Bug
-
Resolution: Fixed
-
P5: Not important
-
5.10.1
-
None
-
Tested on Window 10.
-
cdb08897c (dev)
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 "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.
Attachments
Issue Links
- relates to
-
QTBUG-53991 lupdate does not encode the values in the id attribute
-
- Closed
-
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 |