From 4d8a515a230ca9864a94830fd376a1d3ecbe6886 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Wed, 15 Jan 2020 20:53:21 +0100 Subject: QXmlStreamReader: early return in case of malformed attributes There's no point at keep raising errors after encountering the first malformed attribute. Change-Id: Idb37e577ea96c3bd850b3caf008fe3ecd57dd32e Reviewed-by: Thiago Macieira --- .../qxmlstream/data/duplicatedattributes.xml | 1002 ++++++++++++++++++++ 1 file changed, 1002 insertions(+) create mode 100644 tests/auto/corelib/serialization/qxmlstream/data/duplicatedattributes.xml (limited to 'tests/auto/corelib/serialization/qxmlstream/data/duplicatedattributes.xml') diff --git a/tests/auto/corelib/serialization/qxmlstream/data/duplicatedattributes.xml b/tests/auto/corelib/serialization/qxmlstream/data/duplicatedattributes.xml new file mode 100644 index 0000000000..5f8b1003e9 --- /dev/null +++ b/tests/auto/corelib/serialization/qxmlstream/data/duplicatedattributes.xml @@ -0,0 +1,1002 @@ + -- cgit v1.2.3