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> |
||
|---|---|---|
| .. | ||
| XML-Test-Suite | ||
| data | ||
| .gitattributes | ||
| .gitignore | ||
| CMakeLists.txt | ||
| XML-Test-Suite-LICENSE.txt | ||
| qc14n.h | ||
| setupSuite.sh | ||
| tst_qxmlstream.cpp | ||