summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Baijot <vincentbaijot@gmail.com>2021-04-18 18:23:46 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-04-20 02:48:52 +0000
commitff9a091241370c266064c1585e56f4fb5d2436c8 (patch)
tree4b01b5d7ac52348b06ad52c15e8c5b3474bb7731 /lib
parentc701e6bb38bbab9520b43297e8bc603f09227f44 (diff)
Correct prefix reported for end element in QXmlStreamReader
Before this change, QXmlStreamReader prefix value was always an empty string for EndElement when the documentation state : "Returns the prefix of a StartElement or EndElement." The error was a missing update of the prefix value when parsing EndElement. I updated the tests data which were also wrong because no prefix were reported even for </a:foo>. No new test is necessary, I think, the test data already cover the cases of EndElement with a prefix and without one (unchanged here). Fixes: QTBUG-86847 Change-Id: I0ad38b9741d760f1ce688a36f969ec14e20a928c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 366bdcde97962cf5804c519e9b605eddb543a592) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions