qt5base-lts/tests/auto/corelib/xml/qxmlstream
Luca Bellonda d4302ec693 QtCore: Fix QXmlStreamReader for invalid characters in XML 1.0
The XML parser uses fastScanLiteralContent() to read a block of
text. The routine was not checking the range of valid characters as
defined in the XML standard:
https://www.w3.org/TR/2008/REC-xml-20081126/#NT-Char
A check has been added to stop reading the bad character.
Note that the characters are legal in XML 1.1, but QXmlStreamReader
is a well-formed XML 1.0 parser

[ChangeLog][QtCore][QXmlStreamReader]
Fixed a bug in the XML parser that prevented to load XML that
contained invalid characters for XML 1.0.

Change-Id: I10aaf84fbf95ccdaf9f6d683ea7c31925efff36d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2016-07-17 14:54:36 +00:00
..
data Fix QXmlStreamReader parsing of files containing NULs 2015-01-24 18:35:22 +01:00
XML-Test-Suite Moving relevant tests to corelib/xml 2011-09-01 13:08:32 +02:00
.gitattributes Moving relevant tests to corelib/xml 2011-09-01 13:08:32 +02:00
.gitignore Moving relevant tests to corelib/xml 2011-09-01 13:08:32 +02:00
qc14n.h Update copyright headers 2015-02-11 06:49:51 +00:00
qxmlstream.pro Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
setupSuite.sh Update copyright headers 2015-02-11 06:49:51 +00:00
tst_qxmlstream.cpp QtCore: Fix QXmlStreamReader for invalid characters in XML 1.0 2016-07-17 14:54:36 +00:00
XML-Test-Suite-LICENSE.txt Moving relevant tests to corelib/xml 2011-09-01 13:08:32 +02:00