diff options
author | Vincent Baijot <vincentbaijot@gmail.com> | 2021-04-18 18:23:46 +0200 |
---|---|---|
committer | Vincent Baijot <vincentbaijot@gmail.com> | 2021-04-20 03:03:51 +0200 |
commit | 366bdcde97962cf5804c519e9b605eddb543a592 (patch) | |
tree | 5fd2a74a81b9a6cca186ccd8d6caafa3ac936dfe /tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/xmltest/valid/sa/out/062.xml | |
parent | 3bb523eb662aaa157c0b6ebd35c5fee515edc082 (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
Pick-to: 5.15 6.0 6.1
Change-Id: I0ad38b9741d760f1ce688a36f969ec14e20a928c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/xmltest/valid/sa/out/062.xml')
0 files changed, 0 insertions, 0 deletions