From 79e0374143ab385cb12a17443e91c8eb9d2f3a4b Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 7 Sep 2020 14:01:20 +0200 Subject: Remove the SAX parser from QtXml It has been deprecated and will live in qt5compat from now on. Fixes: QTBUG-86480 Change-Id: I3744c7cee058d51d0fce633a174ab1a0f9235d2c Reviewed-by: Karsten Heimrich --- src/tools/bootstrap/CMakeLists.txt | 1 - src/tools/bootstrap/bootstrap.pro | 3 +- src/tools/uic/qclass_lib_map.h | 14 - src/xml/CMakeLists.txt | 1 - src/xml/doc/snippets/simpleparse/main.cpp | 97 - src/xml/dom/qdom.cpp | 111 - src/xml/dom/qdom_p.h | 10 - src/xml/dom/qdomhelpers.cpp | 194 +- src/xml/dom/qdomhelpers_p.h | 92 - src/xml/sax/qxml.cpp | 7999 -------------------- src/xml/sax/qxml.h | 469 -- src/xml/sax/qxml_p.h | 328 - src/xml/sax/sax.pri | 3 - src/xml/xml.pro | 1 - .../serialization/qxmlstream/tst_qxmlstream.cpp | 1 - tests/auto/xml/CMakeLists.txt | 1 - tests/auto/xml/sax/CMakeLists.txt | 7 - tests/auto/xml/sax/qxml/.gitignore | 1 - tests/auto/xml/sax/qxml/0x010D.xml | 1 - tests/auto/xml/sax/qxml/CMakeLists.txt | 16 - tests/auto/xml/sax/qxml/qxml.pro | 7 - tests/auto/xml/sax/qxml/tst_qxml.cpp | 236 - tests/auto/xml/sax/qxmlinputsource/.gitignore | 1 - tests/auto/xml/sax/qxmlinputsource/CMakeLists.txt | 13 - .../xml/sax/qxmlinputsource/qxmlinputsource.pro | 4 - .../sax/qxmlinputsource/tst_qxmlinputsource.cpp | 304 - tests/auto/xml/sax/qxmlsimplereader/.gitattributes | 8 - tests/auto/xml/sax/qxmlsimplereader/.gitignore | 1 - tests/auto/xml/sax/qxmlsimplereader/CMakeLists.txt | 27 - .../encodings/doc_little-endian.xml | Bin 3186 -> 0 bytes .../sax/qxmlsimplereader/encodings/doc_utf-16.xml | Bin 3186 -> 0 bytes .../sax/qxmlsimplereader/encodings/doc_utf-8.xml | 77 - .../xml/sax/qxmlsimplereader/generate_ref_files.sh | 30 - .../xml/sax/qxmlsimplereader/parser/CMakeLists.txt | 19 - .../auto/xml/sax/qxmlsimplereader/parser/main.cpp | 103 - .../xml/sax/qxmlsimplereader/parser/parser.cpp | 449 -- .../auto/xml/sax/qxmlsimplereader/parser/parser.h | 59 - .../xml/sax/qxmlsimplereader/parser/parser.pro | 4 - .../xml/sax/qxmlsimplereader/qxmlsimplereader.pro | 11 - .../sax/qxmlsimplereader/tst_qxmlsimplereader.cpp | 824 -- .../xmldocs/1-levels-nested-dtd.xml | 12 - .../xmldocs/2-levels-nested-dtd.xml | 13 - .../internal-entity-polynomial-attribute.xml | 13 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/001.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/001.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/002.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/002.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/003.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/003.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/004.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/004.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/005.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/005.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/006.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/006.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/007.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/007.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/008.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/008.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/009.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/009.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/010.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/010.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/011.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/011.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/012.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/012.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/013.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/013.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/014.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/014.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/015.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/015.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/016.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/016.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/017.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/017.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/018.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/018.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/019.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/019.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/020.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/020.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/021.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/021.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/022.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/022.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/023.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/023.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/024.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/024.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/025.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/025.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/026.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/026.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/027.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/027.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/028.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/028.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/029.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/029.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/030.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/030.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/031.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/031.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/032.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/032.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/033.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/033.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/034.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/034.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/035.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/035.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/036.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/036.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/037.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/037.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/038.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/038.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/039.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/039.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/040.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/040.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/041.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/041.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/042.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/042.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/043.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/043.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/044.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/044.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/045.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/045.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/046.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/046.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/047.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/047.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/048.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/048.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/049.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/049.xml.ref | 14 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/050.xml | 0 .../qxmlsimplereader/xmldocs/not-wf/sa/050.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/051.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/051.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/052.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/052.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/053.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/053.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/054.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/054.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/055.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/055.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/056.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/056.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/057.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/057.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/058.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/058.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/059.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/059.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/060.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/060.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/061.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/061.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/062.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/062.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/063.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/063.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/064.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/064.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/065.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/065.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/066.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/066.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/067.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/067.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/068.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/068.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/069.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/069.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/070.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/070.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/071.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/071.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/072.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/072.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/073.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/073.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/074.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/074.xml.ref | 14 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/075.xml | 7 - .../qxmlsimplereader/xmldocs/not-wf/sa/075.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/076.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/076.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/077.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/077.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/078.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/078.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/079.xml | 8 - .../qxmlsimplereader/xmldocs/not-wf/sa/079.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/080.xml | 8 - .../qxmlsimplereader/xmldocs/not-wf/sa/080.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/081.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/081.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/082.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/082.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/083.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/083.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/084.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/084.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/085.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/085.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/086.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/086.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/087.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/087.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/088.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/088.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/089.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/089.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/090.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/090.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/091.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/091.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/092.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/092.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/093.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/093.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/094.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/094.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/095.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/095.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/096.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/096.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/097.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/097.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/098.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/098.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/099.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/099.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/100.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/100.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/101.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/101.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/102.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/102.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/103.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/103.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/104.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/104.xml.ref | 10 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/105.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/105.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/106.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/106.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/107.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/107.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/108.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/108.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/109.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/109.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/110.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/110.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/111.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/111.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/112.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/112.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/113.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/113.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/114.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/114.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/115.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/115.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/116.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/116.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/117.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/117.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/118.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/118.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/119.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/119.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/120.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/120.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/121.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/121.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/122.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/122.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/123.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/123.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/124.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/124.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/125.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/125.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/126.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/126.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/127.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/127.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/128.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/128.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/129.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/129.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/130.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/130.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/131.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/131.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/132.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/132.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/133.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/133.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/134.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/134.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/135.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/135.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/136.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/136.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/137.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/137.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/138.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/138.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/139.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/139.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/140.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/140.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/141.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/141.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/142.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/142.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/143.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/143.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/144.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/144.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/145.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/145.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/146.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/146.xml.ref | Bin 309 -> 0 bytes .../sax/qxmlsimplereader/xmldocs/not-wf/sa/147.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/147.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/148.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/148.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/149.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/149.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/150.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/150.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/151.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/151.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/152.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/152.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/153.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/153.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/154.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/154.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/155.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/155.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/156.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/156.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/157.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/157.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/158.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/158.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/159.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/159.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/160.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/160.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/161.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/161.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/162.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/162.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/163.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/163.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/164.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/164.xml.ref | 5 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/165.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/165.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/166.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/166.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/167.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/167.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/168.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/168.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/169.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/169.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/170.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/170.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/171.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/171.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/172.xml | 2 - .../qxmlsimplereader/xmldocs/not-wf/sa/172.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/173.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/173.xml.ref | 3 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/174.xml | 1 - .../qxmlsimplereader/xmldocs/not-wf/sa/174.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/175.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/175.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/176.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/176.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/177.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/177.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/178.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/178.xml.ref | 6 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/179.xml | 4 - .../qxmlsimplereader/xmldocs/not-wf/sa/179.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/180.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/180.xml.ref | 10 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/181.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/181.xml.ref | 11 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/182.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/182.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/183.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/183.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/184.xml | 6 - .../qxmlsimplereader/xmldocs/not-wf/sa/184.xml.ref | 4 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/185.ent | 1 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/185.xml | 3 - .../qxmlsimplereader/xmldocs/not-wf/sa/185.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/not-wf/sa/186.xml | 5 - .../qxmlsimplereader/xmldocs/not-wf/sa/186.xml.ref | 9 - .../qxmlsimplereader/xmldocs/not-wf/sa/null.ent | 0 .../qxmlsimplereader/xmldocs/valid/ext-sa/001.ent | 1 - .../qxmlsimplereader/xmldocs/valid/ext-sa/001.xml | 5 - .../xmldocs/valid/ext-sa/001.xml.ref | 10 - .../qxmlsimplereader/xmldocs/valid/ext-sa/002.ent | 1 - .../qxmlsimplereader/xmldocs/valid/ext-sa/002.xml | 5 - .../xmldocs/valid/ext-sa/002.xml.ref | 10 - .../qxmlsimplereader/xmldocs/valid/ext-sa/003.ent | 0 .../qxmlsimplereader/xmldocs/valid/ext-sa/003.xml | 5 - .../xmldocs/valid/ext-sa/003.xml.ref | 10 - .../qxmlsimplereader/xmldocs/valid/ext-sa/004.ent | 1 - .../qxmlsimplereader/xmldocs/valid/ext-sa/004.xml | 5 - .../xmldocs/valid/ext-sa/004.xml.ref | 10 - .../qxmlsimplereader/xmldocs/valid/ext-sa/005.ent | 1 - .../qxmlsimplereader/xmldocs/valid/ext-sa/005.xml | 6 - .../xmldocs/valid/ext-sa/005.xml.ref | 10 - .../qxmlsimplereader/xmldocs/valid/ext-sa/006.ent | 4 - .../qxmlsimplereader/xmldocs/valid/ext-sa/006.xml | 6 - .../xmldocs/valid/ext-sa/006.xml.ref | 10 - .../qxmlsimplereader/xmldocs/valid/ext-sa/007.ent | Bin 4 -> 0 bytes .../qxmlsimplereader/xmldocs/valid/ext-sa/007.xml | 5 - .../xmldocs/valid/ext-sa/007.xml.ref | 11 - .../qxmlsimplereader/xmldocs/valid/ext-sa/008.ent | Bin 54 -> 0 bytes .../qxmlsimplereader/xmldocs/valid/ext-sa/008.xml | 5 - .../xmldocs/valid/ext-sa/008.xml.ref | 11 - .../qxmlsimplereader/xmldocs/valid/ext-sa/009.ent | 1 - .../qxmlsimplereader/xmldocs/valid/ext-sa/009.xml | 5 - .../xmldocs/valid/ext-sa/009.xml.ref | 10 - .../qxmlsimplereader/xmldocs/valid/ext-sa/010.ent | 0 .../qxmlsimplereader/xmldocs/valid/ext-sa/010.xml | 5 - .../xmldocs/valid/ext-sa/010.xml.ref | 10 - .../qxmlsimplereader/xmldocs/valid/ext-sa/011.ent | 1 - .../qxmlsimplereader/xmldocs/valid/ext-sa/011.xml | 5 - .../xmldocs/valid/ext-sa/011.xml.ref | 10 - .../qxmlsimplereader/xmldocs/valid/ext-sa/012.ent | 1 - .../qxmlsimplereader/xmldocs/valid/ext-sa/012.xml | 9 - .../xmldocs/valid/ext-sa/012.xml.ref | 14 - .../qxmlsimplereader/xmldocs/valid/ext-sa/013.ent | 1 - .../qxmlsimplereader/xmldocs/valid/ext-sa/013.xml | 10 - .../xmldocs/valid/ext-sa/013.xml.ref | 12 - .../qxmlsimplereader/xmldocs/valid/ext-sa/014.ent | Bin 12 -> 0 bytes .../qxmlsimplereader/xmldocs/valid/ext-sa/014.xml | 5 - .../xmldocs/valid/ext-sa/014.xml.ref | 10 - .../xmldocs/valid/ext-sa/undef_entity_1.xml | 13 - .../xmldocs/valid/ext-sa/undef_entity_1.xml.ref | 47 - .../xmldocs/valid/ext-sa/undef_entity_2.xml | 14 - .../xmldocs/valid/ext-sa/undef_entity_2.xml.ref | 47 - .../xmldocs/valid/ext-sa/undef_entity_3.xml | 9 - .../xmldocs/valid/ext-sa/undef_entity_3.xml.ref | 16 - .../qxmlsimplereader/xmldocs/valid/not-sa/001.ent | 0 .../qxmlsimplereader/xmldocs/valid/not-sa/001.xml | 4 - .../xmldocs/valid/not-sa/001.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/002.ent | 1 - .../qxmlsimplereader/xmldocs/valid/not-sa/002.xml | 4 - .../xmldocs/valid/not-sa/002.xml.ref | 7 - .../xmldocs/valid/not-sa/003-1.ent | 3 - .../xmldocs/valid/not-sa/003-2.ent | 0 .../qxmlsimplereader/xmldocs/valid/not-sa/003.xml | 2 - .../xmldocs/valid/not-sa/003.xml.ref | 7 - .../xmldocs/valid/not-sa/004-1.ent | 4 - .../xmldocs/valid/not-sa/004-2.ent | 1 - .../qxmlsimplereader/xmldocs/valid/not-sa/004.xml | 2 - .../xmldocs/valid/not-sa/004.xml.ref | 7 - .../xmldocs/valid/not-sa/005-1.ent | 3 - .../xmldocs/valid/not-sa/005-2.ent | 1 - .../qxmlsimplereader/xmldocs/valid/not-sa/005.xml | 2 - .../xmldocs/valid/not-sa/005.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/006.ent | 2 - .../qxmlsimplereader/xmldocs/valid/not-sa/006.xml | 4 - .../xmldocs/valid/not-sa/006.xml.ref | 8 - .../qxmlsimplereader/xmldocs/valid/not-sa/007.ent | 2 - .../qxmlsimplereader/xmldocs/valid/not-sa/007.xml | 2 - .../xmldocs/valid/not-sa/007.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/008.ent | 2 - .../qxmlsimplereader/xmldocs/valid/not-sa/008.xml | 2 - .../xmldocs/valid/not-sa/008.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/009.ent | 2 - .../qxmlsimplereader/xmldocs/valid/not-sa/009.xml | 4 - .../xmldocs/valid/not-sa/009.xml.ref | 8 - .../qxmlsimplereader/xmldocs/valid/not-sa/010.ent | 2 - .../qxmlsimplereader/xmldocs/valid/not-sa/010.xml | 4 - .../xmldocs/valid/not-sa/010.xml.ref | 8 - .../qxmlsimplereader/xmldocs/valid/not-sa/011.ent | 2 - .../qxmlsimplereader/xmldocs/valid/not-sa/011.xml | 5 - .../xmldocs/valid/not-sa/011.xml.ref | 10 - .../qxmlsimplereader/xmldocs/valid/not-sa/012.ent | 3 - .../qxmlsimplereader/xmldocs/valid/not-sa/012.xml | 5 - .../xmldocs/valid/not-sa/012.xml.ref | 10 - .../qxmlsimplereader/xmldocs/valid/not-sa/013.ent | 4 - .../qxmlsimplereader/xmldocs/valid/not-sa/013.xml | 2 - .../xmldocs/valid/not-sa/013.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/014.ent | 4 - .../qxmlsimplereader/xmldocs/valid/not-sa/014.xml | 4 - .../xmldocs/valid/not-sa/014.xml.ref | 8 - .../qxmlsimplereader/xmldocs/valid/not-sa/015.ent | 5 - .../qxmlsimplereader/xmldocs/valid/not-sa/015.xml | 4 - .../xmldocs/valid/not-sa/015.xml.ref | 8 - .../qxmlsimplereader/xmldocs/valid/not-sa/016.ent | 4 - .../qxmlsimplereader/xmldocs/valid/not-sa/016.xml | 4 - .../xmldocs/valid/not-sa/016.xml.ref | 8 - .../qxmlsimplereader/xmldocs/valid/not-sa/017.ent | 3 - .../qxmlsimplereader/xmldocs/valid/not-sa/017.xml | 2 - .../xmldocs/valid/not-sa/017.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/018.ent | 3 - .../qxmlsimplereader/xmldocs/valid/not-sa/018.xml | 2 - .../xmldocs/valid/not-sa/018.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/019.ent | 3 - .../qxmlsimplereader/xmldocs/valid/not-sa/019.xml | 2 - .../xmldocs/valid/not-sa/019.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/020.ent | 3 - .../qxmlsimplereader/xmldocs/valid/not-sa/020.xml | 2 - .../xmldocs/valid/not-sa/020.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/021.ent | 3 - .../qxmlsimplereader/xmldocs/valid/not-sa/021.xml | 2 - .../xmldocs/valid/not-sa/021.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/022.ent | 3 - .../qxmlsimplereader/xmldocs/valid/not-sa/022.xml | 2 - .../xmldocs/valid/not-sa/022.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/023.ent | 5 - .../qxmlsimplereader/xmldocs/valid/not-sa/023.xml | 2 - .../xmldocs/valid/not-sa/023.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/024.ent | 4 - .../qxmlsimplereader/xmldocs/valid/not-sa/024.xml | 2 - .../xmldocs/valid/not-sa/024.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/025.ent | 5 - .../qxmlsimplereader/xmldocs/valid/not-sa/025.xml | 2 - .../xmldocs/valid/not-sa/025.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/026.ent | 1 - .../qxmlsimplereader/xmldocs/valid/not-sa/026.xml | 7 - .../xmldocs/valid/not-sa/026.xml.ref | 12 - .../qxmlsimplereader/xmldocs/valid/not-sa/027.ent | 2 - .../qxmlsimplereader/xmldocs/valid/not-sa/027.xml | 2 - .../xmldocs/valid/not-sa/027.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/028.ent | 2 - .../qxmlsimplereader/xmldocs/valid/not-sa/028.xml | 2 - .../xmldocs/valid/not-sa/028.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/029.ent | 3 - .../qxmlsimplereader/xmldocs/valid/not-sa/029.xml | 2 - .../xmldocs/valid/not-sa/029.xml.ref | 7 - .../qxmlsimplereader/xmldocs/valid/not-sa/030.ent | 3 - .../qxmlsimplereader/xmldocs/valid/not-sa/030.xml | 2 - .../xmldocs/valid/not-sa/030.xml.ref | 7 - .../xmldocs/valid/not-sa/031-1.ent | 3 - .../xmldocs/valid/not-sa/031-2.ent | 1 - .../qxmlsimplereader/xmldocs/valid/not-sa/031.xml | 2 - .../xmldocs/valid/not-sa/031.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/001.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/001.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/valid/sa/002.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/002.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/valid/sa/003.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/003.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/valid/sa/004.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/004.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/005.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/005.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/006.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/006.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/007.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/007.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/008.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/008.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/009.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/009.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/010.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/010.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/011.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/011.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/012.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/012.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/013.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/013.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/014.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/014.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/015.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/015.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/016.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/016.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/017.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/017.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/018.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/018.xml.ref | 10 - .../sax/qxmlsimplereader/xmldocs/valid/sa/019.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/019.xml.ref | 10 - .../sax/qxmlsimplereader/xmldocs/valid/sa/020.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/020.xml.ref | 10 - .../sax/qxmlsimplereader/xmldocs/valid/sa/021.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/021.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/022.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/022.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/023.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/023.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/024.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/024.xml.ref | 10 - .../sax/qxmlsimplereader/xmldocs/valid/sa/025.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/025.xml.ref | 11 - .../sax/qxmlsimplereader/xmldocs/valid/sa/026.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/026.xml.ref | 11 - .../sax/qxmlsimplereader/xmldocs/valid/sa/027.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/027.xml.ref | 11 - .../sax/qxmlsimplereader/xmldocs/valid/sa/028.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/028.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/029.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/029.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/030.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/030.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/031.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/031.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/032.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/032.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/033.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/033.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/034.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/034.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/valid/sa/035.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/035.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/valid/sa/036.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/036.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/037.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/037.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/038.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/038.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/039.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/039.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/040.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/040.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/041.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/041.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/042.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/042.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/043.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/043.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/044.xml | 10 - .../qxmlsimplereader/xmldocs/valid/sa/044.xml.ref | 20 - .../sax/qxmlsimplereader/xmldocs/valid/sa/045.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/045.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/046.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/046.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/047.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/047.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/048.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/048.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/049.xml | Bin 124 -> 0 bytes .../qxmlsimplereader/xmldocs/valid/sa/049.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/050.xml | Bin 132 -> 0 bytes .../qxmlsimplereader/xmldocs/valid/sa/050.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/051.xml | Bin 140 -> 0 bytes .../qxmlsimplereader/xmldocs/valid/sa/051.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/valid/sa/052.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/052.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/053.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/053.xml.ref | 10 - .../sax/qxmlsimplereader/xmldocs/valid/sa/054.xml | 10 - .../qxmlsimplereader/xmldocs/valid/sa/054.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/valid/sa/055.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/055.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/056.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/056.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/057.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/057.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/valid/sa/058.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/058.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/059.xml | 10 - .../qxmlsimplereader/xmldocs/valid/sa/059.xml.ref | 20 - .../sax/qxmlsimplereader/xmldocs/valid/sa/060.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/060.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/061.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/061.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/062.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/062.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/063.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/063.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/valid/sa/064.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/064.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/065.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/065.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/066.xml | 7 - .../qxmlsimplereader/xmldocs/valid/sa/066.xml.ref | 10 - .../sax/qxmlsimplereader/xmldocs/valid/sa/067.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/067.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/068.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/068.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/069.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/069.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/070.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/070.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/071.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/071.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/072.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/072.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/073.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/073.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/074.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/074.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/075.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/075.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/076.xml | 7 - .../qxmlsimplereader/xmldocs/valid/sa/076.xml.ref | 10 - .../sax/qxmlsimplereader/xmldocs/valid/sa/077.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/077.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/078.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/078.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/079.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/079.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/080.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/080.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/081.xml | 7 - .../qxmlsimplereader/xmldocs/valid/sa/081.xml.ref | 15 - .../sax/qxmlsimplereader/xmldocs/valid/sa/082.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/082.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/083.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/083.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/084.xml | 1 - .../qxmlsimplereader/xmldocs/valid/sa/084.xml.ref | 7 - .../sax/qxmlsimplereader/xmldocs/valid/sa/085.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/085.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/086.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/086.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/087.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/087.xml.ref | 10 - .../sax/qxmlsimplereader/xmldocs/valid/sa/088.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/088.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/089.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/089.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/090.xml | 7 - .../qxmlsimplereader/xmldocs/valid/sa/090.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/091.xml | 7 - .../qxmlsimplereader/xmldocs/valid/sa/091.xml.ref | 10 - .../sax/qxmlsimplereader/xmldocs/valid/sa/092.xml | 10 - .../qxmlsimplereader/xmldocs/valid/sa/092.xml.ref | 17 - .../sax/qxmlsimplereader/xmldocs/valid/sa/093.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/093.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/094.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/094.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/095.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/095.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/096.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/096.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/097.ent | 1 - .../sax/qxmlsimplereader/xmldocs/valid/sa/097.xml | 8 - .../qxmlsimplereader/xmldocs/valid/sa/097.xml.ref | 12 - .../sax/qxmlsimplereader/xmldocs/valid/sa/098.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/098.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/099.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/099.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/100.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/100.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/101.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/101.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/102.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/102.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/103.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/103.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/104.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/104.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/105.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/105.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/106.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/106.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/107.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/107.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/108.xml | 7 - .../qxmlsimplereader/xmldocs/valid/sa/108.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/109.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/109.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/110.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/110.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/111.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/111.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/112.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/112.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/113.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/113.xml.ref | 8 - .../sax/qxmlsimplereader/xmldocs/valid/sa/114.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/114.xml.ref | 11 - .../sax/qxmlsimplereader/xmldocs/valid/sa/115.xml | 6 - .../qxmlsimplereader/xmldocs/valid/sa/115.xml.ref | 10 - .../sax/qxmlsimplereader/xmldocs/valid/sa/116.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/116.xml.ref | 10 - .../sax/qxmlsimplereader/xmldocs/valid/sa/117.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/117.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/118.xml | 5 - .../qxmlsimplereader/xmldocs/valid/sa/118.xml.ref | 9 - .../sax/qxmlsimplereader/xmldocs/valid/sa/119.xml | 4 - .../qxmlsimplereader/xmldocs/valid/sa/119.xml.ref | 8 - tests/auto/xml/sax/sax.pro | 8 - tests/auto/xml/xml.pro | 1 - 803 files changed, 3 insertions(+), 15583 deletions(-) delete mode 100644 src/xml/doc/snippets/simpleparse/main.cpp delete mode 100644 src/xml/sax/qxml.cpp delete mode 100644 src/xml/sax/qxml.h delete mode 100644 src/xml/sax/qxml_p.h delete mode 100644 src/xml/sax/sax.pri delete mode 100644 tests/auto/xml/sax/CMakeLists.txt delete mode 100644 tests/auto/xml/sax/qxml/.gitignore delete mode 100644 tests/auto/xml/sax/qxml/0x010D.xml delete mode 100644 tests/auto/xml/sax/qxml/CMakeLists.txt delete mode 100644 tests/auto/xml/sax/qxml/qxml.pro delete mode 100644 tests/auto/xml/sax/qxml/tst_qxml.cpp delete mode 100644 tests/auto/xml/sax/qxmlinputsource/.gitignore delete mode 100644 tests/auto/xml/sax/qxmlinputsource/CMakeLists.txt delete mode 100644 tests/auto/xml/sax/qxmlinputsource/qxmlinputsource.pro delete mode 100644 tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/.gitattributes delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/.gitignore delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/CMakeLists.txt delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/encodings/doc_little-endian.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/encodings/doc_utf-16.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/encodings/doc_utf-8.xml delete mode 100755 tests/auto/xml/sax/qxmlsimplereader/generate_ref_files.sh delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/parser/CMakeLists.txt delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/parser/main.cpp delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/parser/parser.cpp delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/parser/parser.h delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/parser/parser.pro delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/tst_qxmlsimplereader.cpp delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/1-levels-nested-dtd.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/2-levels-nested-dtd.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/internal-entity-polynomial-attribute.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/001.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/001.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/002.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/002.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/003.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/003.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/004.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/004.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/005.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/005.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/006.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/006.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/007.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/007.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/008.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/008.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/009.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/009.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/010.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/010.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/011.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/011.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/012.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/012.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/013.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/013.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/014.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/014.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/015.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/015.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/016.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/016.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/017.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/017.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/018.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/018.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/019.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/019.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/020.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/020.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/021.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/021.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/022.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/022.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/023.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/023.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/024.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/024.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/025.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/025.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/026.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/026.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/027.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/027.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/028.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/028.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/029.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/029.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/030.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/030.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/031.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/031.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/032.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/032.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/033.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/033.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/034.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/034.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/035.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/035.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/036.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/036.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/037.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/037.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/038.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/038.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/039.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/039.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/040.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/040.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/041.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/041.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/042.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/042.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/043.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/043.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/044.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/044.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/045.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/045.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/046.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/046.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/047.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/047.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/048.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/048.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/049.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/049.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/050.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/050.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/051.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/051.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/052.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/052.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/053.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/053.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/054.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/054.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/055.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/055.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/056.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/056.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/057.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/057.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/058.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/058.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/059.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/059.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/060.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/060.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/061.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/061.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/062.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/062.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/063.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/063.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/064.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/064.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/065.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/065.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/066.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/066.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/067.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/067.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/068.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/068.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/069.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/069.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/070.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/070.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/071.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/071.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/072.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/072.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/073.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/073.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/074.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/074.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/075.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/075.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/076.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/076.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/077.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/077.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/078.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/078.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/079.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/079.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/080.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/080.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/081.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/081.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/082.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/082.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/083.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/083.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/084.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/084.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/085.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/085.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/086.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/086.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/087.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/087.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/088.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/088.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/089.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/089.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/090.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/090.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/091.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/091.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/092.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/092.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/093.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/093.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/094.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/094.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/095.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/095.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/096.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/096.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/097.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/097.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/098.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/098.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/099.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/099.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/100.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/100.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/101.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/101.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/102.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/102.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/103.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/103.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/104.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/104.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/105.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/105.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/106.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/106.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/107.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/107.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/108.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/108.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/109.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/109.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/110.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/110.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/111.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/111.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/112.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/112.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/113.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/113.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/114.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/114.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/115.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/115.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/116.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/116.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/117.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/117.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/118.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/118.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/119.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/119.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/120.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/120.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/121.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/121.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/122.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/122.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/123.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/123.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/124.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/124.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/125.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/125.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/126.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/126.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/127.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/127.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/128.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/128.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/129.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/129.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/130.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/130.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/131.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/131.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/132.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/132.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/133.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/133.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/134.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/134.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/135.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/135.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/136.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/136.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/137.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/137.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/138.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/138.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/139.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/139.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/140.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/140.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/141.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/141.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/142.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/142.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/143.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/143.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/144.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/144.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/145.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/145.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/146.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/146.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/147.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/147.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/148.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/148.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/149.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/149.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/150.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/150.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/151.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/151.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/152.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/152.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/153.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/153.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/154.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/154.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/155.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/155.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/156.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/156.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/157.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/157.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/158.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/158.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/159.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/159.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/160.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/160.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/161.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/161.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/162.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/162.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/163.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/163.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/164.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/164.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/165.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/165.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/166.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/166.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/167.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/167.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/168.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/168.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/169.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/169.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/170.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/170.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/171.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/171.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/172.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/172.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/173.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/173.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/174.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/174.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/175.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/175.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/176.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/176.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/177.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/177.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/178.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/178.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/179.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/179.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/180.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/180.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/181.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/181.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/182.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/182.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/183.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/183.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/184.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/184.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/185.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/185.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/185.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/186.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/186.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/null.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/001.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/001.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/001.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/002.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/002.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/002.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/003.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/003.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/003.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/004.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/004.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/004.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/005.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/005.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/005.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/006.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/006.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/006.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/007.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/007.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/007.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/008.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/008.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/008.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/009.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/009.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/009.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/010.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/010.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/010.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/011.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/011.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/011.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/012.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/012.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/012.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/013.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/013.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/013.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/014.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/014.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/014.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_1.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_1.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_2.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_2.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_3.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_3.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/001.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/001.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/001.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/002.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/002.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/002.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003-1.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003-2.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004-1.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004-2.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005-1.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005-2.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/006.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/006.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/006.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/007.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/007.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/007.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/008.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/008.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/008.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/009.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/009.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/009.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/010.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/010.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/010.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/011.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/011.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/011.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/012.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/012.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/012.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/013.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/013.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/013.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/014.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/014.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/014.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/015.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/015.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/015.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/016.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/016.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/016.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/017.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/017.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/017.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/018.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/018.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/018.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/019.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/019.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/019.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/020.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/020.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/020.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/021.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/021.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/021.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/022.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/022.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/022.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/023.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/023.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/023.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/024.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/024.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/024.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/025.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/025.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/025.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/026.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/026.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/026.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/027.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/027.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/027.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/028.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/028.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/028.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/029.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/029.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/029.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/030.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/030.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/030.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031-1.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031-2.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/001.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/001.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/002.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/002.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/003.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/003.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/004.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/004.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/005.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/005.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/006.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/006.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/007.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/007.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/008.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/008.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/009.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/009.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/010.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/010.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/011.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/011.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/012.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/012.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/013.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/013.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/014.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/014.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/015.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/015.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/016.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/016.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/017.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/017.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/018.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/018.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/019.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/019.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/020.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/020.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/021.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/021.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/022.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/022.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/023.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/023.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/024.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/024.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/025.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/025.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/026.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/026.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/027.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/027.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/028.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/028.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/029.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/029.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/030.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/030.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/031.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/031.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/032.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/032.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/033.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/033.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/034.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/034.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/035.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/035.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/036.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/036.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/037.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/037.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/038.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/038.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/039.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/039.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/040.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/040.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/041.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/041.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/042.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/042.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/043.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/043.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/044.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/044.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/045.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/045.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/046.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/046.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/047.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/047.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/048.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/048.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/049.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/049.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/050.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/050.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/051.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/051.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/052.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/052.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/053.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/053.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/054.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/054.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/055.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/055.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/056.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/056.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/057.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/057.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/058.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/058.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/059.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/059.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/060.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/060.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/061.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/061.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/062.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/062.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/063.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/063.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/064.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/064.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/065.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/065.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/066.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/066.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/067.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/067.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/068.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/068.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/069.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/069.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/070.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/070.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/071.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/071.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/072.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/072.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/073.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/073.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/074.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/074.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/075.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/075.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/076.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/076.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/077.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/077.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/078.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/078.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/079.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/079.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/080.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/080.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/081.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/081.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/082.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/082.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/083.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/083.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/084.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/084.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/085.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/085.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/086.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/086.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/087.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/087.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/088.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/088.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/089.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/089.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/090.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/090.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/091.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/091.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/092.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/092.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/093.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/093.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/094.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/094.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/095.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/095.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/096.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/096.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/097.ent delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/097.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/097.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/098.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/098.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/099.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/099.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/100.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/100.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/101.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/101.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/102.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/102.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/103.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/103.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/104.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/104.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/105.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/105.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/106.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/106.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/107.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/107.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/108.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/108.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/109.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/109.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/110.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/110.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/111.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/111.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/112.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/112.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/113.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/113.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/114.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/114.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/115.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/115.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/116.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/116.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/117.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/117.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/118.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/118.xml.ref delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/119.xml delete mode 100644 tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/119.xml.ref delete mode 100644 tests/auto/xml/sax/sax.pro diff --git a/src/tools/bootstrap/CMakeLists.txt b/src/tools/bootstrap/CMakeLists.txt index 272cd92128..fe69c371cb 100644 --- a/src/tools/bootstrap/CMakeLists.txt +++ b/src/tools/bootstrap/CMakeLists.txt @@ -127,7 +127,6 @@ qt_extend_target(Bootstrap ../../corelib/tools/qsize.cpp ../../corelib/tools/qversionnumber.cpp ../../xml/dom/qdom.cpp - ../../xml/sax/qxml.cpp DEFINES HAVE_CONFIG_H PCRE2_CODE_UNIT_WIDTH=16 diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro index c9277735c8..d2a780593e 100644 --- a/src/tools/bootstrap/bootstrap.pro +++ b/src/tools/bootstrap/bootstrap.pro @@ -112,8 +112,7 @@ SOURCES += \ ../../corelib/tools/qsize.cpp \ ../../corelib/tools/qline.cpp \ ../../corelib/tools/qversionnumber.cpp \ - ../../xml/dom/qdom.cpp \ - ../../xml/sax/qxml.cpp + ../../xml/dom/qdom.cpp unix:SOURCES += ../../corelib/kernel/qcore_unix.cpp \ ../../corelib/kernel/qsharedmemory_posix.cpp \ diff --git a/src/tools/uic/qclass_lib_map.h b/src/tools/uic/qclass_lib_map.h index 4bd3051cf2..5e11d61089 100644 --- a/src/tools/uic/qclass_lib_map.h +++ b/src/tools/uic/qclass_lib_map.h @@ -313,20 +313,6 @@ QT_CLASS_LIB(QDomNotation, QtXml, qdom.h) QT_CLASS_LIB(QDomEntity, QtXml, qdom.h) QT_CLASS_LIB(QDomEntityReference, QtXml, qdom.h) QT_CLASS_LIB(QDomProcessingInstruction, QtXml, qdom.h) -QT_CLASS_LIB(QXmlNamespaceSupport, QtXml, qxml.h) -QT_CLASS_LIB(QXmlAttributes, QtXml, qxml.h) -QT_CLASS_LIB(QXmlInputSource, QtXml, qxml.h) -QT_CLASS_LIB(QXmlParseException, QtXml, qxml.h) -QT_CLASS_LIB(QXmlReader, QtXml, qxml.h) -QT_CLASS_LIB(QXmlSimpleReader, QtXml, qxml.h) -QT_CLASS_LIB(QXmlLocator, QtXml, qxml.h) -QT_CLASS_LIB(QXmlContentHandler, QtXml, qxml.h) -QT_CLASS_LIB(QXmlErrorHandler, QtXml, qxml.h) -QT_CLASS_LIB(QXmlDTDHandler, QtXml, qxml.h) -QT_CLASS_LIB(QXmlEntityResolver, QtXml, qxml.h) -QT_CLASS_LIB(QXmlLexicalHandler, QtXml, qxml.h) -QT_CLASS_LIB(QXmlDeclHandler, QtXml, qxml.h) -QT_CLASS_LIB(QXmlDefaultHandler, QtXml, qxml.h) QT_CLASS_LIB(QXmlStreamAttribute, QtXml, qxmlstream.h) QT_CLASS_LIB(QXmlStreamAttributes, QtXml, qxmlstream.h) QT_CLASS_LIB(QXmlStreamEntityDeclaration, QtXml, qxmlstream.h) diff --git a/src/xml/CMakeLists.txt b/src/xml/CMakeLists.txt index 8b79b9df45..53cbeeaddc 100644 --- a/src/xml/CMakeLists.txt +++ b/src/xml/CMakeLists.txt @@ -9,7 +9,6 @@ qt_add_module(Xml dom/qdom.cpp dom/qdom.h dom/qdom_p.h dom/qdomhelpers.cpp dom/qdomhelpers_p.h qtxmlglobal.h - sax/qxml.cpp sax/qxml.h sax/qxml_p.h DEFINES QT_NO_FOREACH QT_NO_USING_NAMESPACE diff --git a/src/xml/doc/snippets/simpleparse/main.cpp b/src/xml/doc/snippets/simpleparse/main.cpp deleted file mode 100644 index 57aeb82457..0000000000 --- a/src/xml/doc/snippets/simpleparse/main.cpp +++ /dev/null @@ -1,97 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include -#include -#include "handler.h" - -#include - -int main(int argc, char **argv) -{ - if (argc != 2) { - std::cout << "Usage: " << argv[0] << " " << std::endl; - return 1; - } - - QFile *file = new QFile(argv[1]); - -//! [0] - QXmlSimpleReader xmlReader; - QXmlInputSource *source = new QXmlInputSource(file); -//! [0] - -//! [1] - Handler *handler = new Handler; - xmlReader.setContentHandler(handler); - xmlReader.setErrorHandler(handler); -//! [1] - -//! [2] - bool ok = xmlReader.parse(source); - - if (!ok) - std::cout << "Parsing failed." << std::endl; -//! [2] - else { - QStringList names = handler->names(); - QList indentations = handler->indentations(); - - int items = names.count(); - - for (int i = 0; i < items; ++i) { - for (int j = 0; j < indentations[i]; ++j) - std::cout << ' '; - std::cout << names[i].toLocal8Bit().constData() << std::endl; - } - } - - return 0; -} diff --git a/src/xml/dom/qdom.cpp b/src/xml/dom/qdom.cpp index 0856a83a52..571e7fb0ac 100644 --- a/src/xml/dom/qdom.cpp +++ b/src/xml/dom/qdom.cpp @@ -53,7 +53,6 @@ #include #endif #include -#include #include #include #include @@ -5683,57 +5682,6 @@ void QDomDocumentPrivate::clear() QDomNodePrivate::clear(); } -#if QT_DEPRECATED_SINCE(5, 15) - -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -static void initializeReader(QXmlSimpleReader &reader, bool namespaceProcessing) -{ - reader.setFeature(QLatin1String("http://xml.org/sax/features/namespaces"), namespaceProcessing); - reader.setFeature(QLatin1String("http://xml.org/sax/features/namespace-prefixes"), !namespaceProcessing); - reader.setFeature(QLatin1String("http://trolltech.com/xml/features/report-whitespace-only-CharData"), false); // Shouldn't change in Qt 4 -} - -bool QDomDocumentPrivate::setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg, int *errorLine, int *errorColumn) -{ - QXmlSimpleReader reader; - initializeReader(reader, namespaceProcessing); - return setContent(source, &reader, &reader, errorMsg, errorLine, errorColumn); -} - -bool QDomDocumentPrivate::setContent(QXmlInputSource *source, QXmlReader *reader, QXmlSimpleReader *simpleReader, QString *errorMsg, int *errorLine, int *errorColumn) -{ - clear(); - impl = new QDomImplementationPrivate; - type = new QDomDocumentTypePrivate(this, this); - type->ref.deref(); - - bool namespaceProcessing = reader->feature(QLatin1String("http://xml.org/sax/features/namespaces")) - && !reader->feature(QLatin1String("http://xml.org/sax/features/namespace-prefixes")); - - QDomHandler hnd(this, simpleReader, namespaceProcessing); - reader->setContentHandler(&hnd); - reader->setErrorHandler(&hnd); - reader->setLexicalHandler(&hnd); - reader->setDeclHandler(&hnd); - reader->setDTDHandler(&hnd); - - if (!reader->parse(source)) { - if (errorMsg) - *errorMsg = std::get<0>(hnd.errorInfo()); - if (errorLine) - *errorLine = std::get<1>(hnd.errorInfo()); - if (errorColumn) - *errorColumn = std::get<2>(hnd.errorInfo()); - return false; - } - - return true; -} -QT_WARNING_POP - -#endif // QT_DEPRECATED_SINCE(5, 15) - bool QDomDocumentPrivate::setContent(QXmlStreamReader *reader, bool namespaceProcessing, QString *errorMsg, int *errorLine, int *errorColumn) { @@ -6273,43 +6221,11 @@ bool QDomDocument::setContent(QIODevice* dev, bool namespaceProcessing, QString if (!impl) impl = new QDomDocumentPrivate(); -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) && QT_DEPRECATED_SINCE(5, 15) -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - QXmlInputSource source(dev); -QT_WARNING_POP - return IMPL->setContent(&source, namespaceProcessing, errorMsg, errorLine, errorColumn); -#else QXmlStreamReader streamReader(dev); streamReader.setNamespaceProcessing(namespaceProcessing); return IMPL->setContent(&streamReader, namespaceProcessing, errorMsg, errorLine, errorColumn); -#endif } -#if QT_DEPRECATED_SINCE(5, 15) -/*! - \overload - \obsolete - \since 4.5 - - This function reads the XML document from the QXmlInputSource \a source, - returning true if the content was successfully parsed; otherwise returns \c false. - -*/ -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -bool QDomDocument::setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg, int *errorLine, int *errorColumn ) -{ - if (!impl) - impl = new QDomDocumentPrivate(); - QXmlSimpleReader reader; - initializeReader(reader, namespaceProcessing); - return IMPL->setContent(source, &reader, &reader, errorMsg, errorLine, errorColumn); -} -QT_WARNING_POP - -#endif - /*! \overload @@ -6353,33 +6269,6 @@ bool QDomDocument::setContent(QIODevice* dev, QString *errorMsg, int *errorLine, return setContent(dev, false, errorMsg, errorLine, errorColumn); } -#if QT_DEPRECATED_SINCE(5, 15) -/*! - \overload - \obsolete - - This function reads the XML document from the QXmlInputSource \a source and - parses it with the QXmlReader \a reader, returning true if the content was - successfully parsed; otherwise returns \c false. - - This function doesn't change the features of the \a reader. If you want to - use certain features for parsing you can use this function to set up the - reader appropriately. - - \sa QXmlSimpleReader -*/ -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -bool QDomDocument::setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg, int *errorLine, int *errorColumn ) -{ - if (!impl) - impl = new QDomDocumentPrivate(); - return IMPL->setContent(source, reader, nullptr, errorMsg, errorLine, errorColumn); -} -QT_WARNING_POP - -#endif - /*! \overload \since 5.15 diff --git a/src/xml/dom/qdom_p.h b/src/xml/dom/qdom_p.h index 8ab81aa083..82c533b141 100644 --- a/src/xml/dom/qdom_p.h +++ b/src/xml/dom/qdom_p.h @@ -45,7 +45,6 @@ #include #include #include -#include #include QT_BEGIN_NAMESPACE @@ -462,15 +461,6 @@ public: QDomDocumentPrivate(QDomDocumentPrivate *n, bool deep); ~QDomDocumentPrivate(); -#if QT_DEPRECATED_SINCE(5, 15) -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg, - int *errorLine, int *errorColumn); - bool setContent(QXmlInputSource *source, QXmlReader *reader, QXmlSimpleReader *simpleReader, - QString *errorMsg, int *errorLine, int *errorColumn); -QT_WARNING_POP -#endif bool setContent(QXmlStreamReader *reader, bool namespaceProcessing, QString *errorMsg, int *errorLine, int *errorColumn); diff --git a/src/xml/dom/qdomhelpers.cpp b/src/xml/dom/qdomhelpers.cpp index 69fb99715d..75d4c2c2b7 100644 --- a/src/xml/dom/qdomhelpers.cpp +++ b/src/xml/dom/qdomhelpers.cpp @@ -44,132 +44,10 @@ #include "qdomhelpers_p.h" #include "qdom_p.h" #include "qxmlstream.h" -#include "private/qxml_p.h" -QT_BEGIN_NAMESPACE - -#if QT_DEPRECATED_SINCE(5, 15) - -/************************************************************** - * - * QDomHandler - * - **************************************************************/ -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -QDomHandler::QDomHandler(QDomDocumentPrivate *adoc, QXmlSimpleReader *areader, - bool namespaceProcessing) - : cdata(false), reader(areader), domBuilder(adoc, &locator, namespaceProcessing) -{ -} - -QDomHandler::~QDomHandler() {} - -bool QDomHandler::endDocument() -{ - return domBuilder.endDocument(); -} - -bool QDomHandler::startDTD(const QString &name, const QString &publicId, const QString &systemId) -{ - return domBuilder.startDTD(name, publicId, systemId); -} - -bool QDomHandler::startElement(const QString &nsURI, const QString &, const QString &qName, - const QXmlAttributes &atts) -{ - return domBuilder.startElement(nsURI, qName, atts); -} - -bool QDomHandler::endElement(const QString &, const QString &, const QString &) -{ - return domBuilder.endElement(); -} - -bool QDomHandler::characters(const QString &ch) -{ - return domBuilder.characters(ch, cdata); -} - -bool QDomHandler::processingInstruction(const QString &target, const QString &data) -{ - return domBuilder.processingInstruction(target, data); -} - -bool QDomHandler::skippedEntity(const QString &name) -{ - // we can only handle inserting entity references into content - if (reader && !reader->d_ptr->skipped_entity_in_content) - return true; - - return domBuilder.skippedEntity(name); -} - -bool QDomHandler::fatalError(const QXmlParseException &exception) -{ - domBuilder.errorMsg = exception.message(); - domBuilder.errorLine = exception.lineNumber(); - domBuilder.errorColumn = exception.columnNumber(); - return QXmlDefaultHandler::fatalError(exception); -} - -bool QDomHandler::startCDATA() -{ - cdata = true; - return true; -} - -bool QDomHandler::endCDATA() -{ - cdata = false; - return true; -} - -bool QDomHandler::startEntity(const QString &name) -{ - return domBuilder.startEntity(name); -} - -bool QDomHandler::endEntity(const QString &) -{ - return domBuilder.endEntity(); -} - -bool QDomHandler::comment(const QString &ch) -{ - return domBuilder.comment(ch); -} - -bool QDomHandler::unparsedEntityDecl(const QString &name, const QString &publicId, - const QString &systemId, const QString ¬ationName) -{ - return domBuilder.unparsedEntityDecl(name, publicId, systemId, notationName); -} - -bool QDomHandler::externalEntityDecl(const QString &name, const QString &publicId, - const QString &systemId) -{ - return unparsedEntityDecl(name, publicId, systemId, QString()); -} - -bool QDomHandler::notationDecl(const QString &name, const QString &publicId, - const QString &systemId) -{ - return domBuilder.notationDecl(name, publicId, systemId); -} - -void QDomHandler::setDocumentLocator(QXmlLocator *locator) -{ - this->locator.setLocator(locator); -} - -QDomBuilder::ErrorInfo QDomHandler::errorInfo() const -{ - return domBuilder.error(); -} -QT_WARNING_POP +#include -#endif // QT_DEPRECATED_SINCE(5, 15) +QT_BEGIN_NAMESPACE /************************************************************** * @@ -189,36 +67,6 @@ int QDomDocumentLocator::line() const return static_cast(reader->lineNumber()); } -#if QT_DEPRECATED_SINCE(5, 15) - -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - -void QSAXDocumentLocator::setLocator(QXmlLocator *l) -{ - locator = l; -} - -int QSAXDocumentLocator::column() const -{ - if (!locator) - return 0; - - return static_cast(locator->columnNumber()); -} - -int QSAXDocumentLocator::line() const -{ - if (!locator) - return 0; - - return static_cast(locator->lineNumber()); -} - -QT_WARNING_POP - -#endif // QT_DEPRECATED_SINCE(5, 15) - /************************************************************** * * QDomBuilder @@ -253,44 +101,6 @@ bool QDomBuilder::startDTD(const QString &name, const QString &publicId, const Q return true; } -#if QT_DEPRECATED_SINCE(5, 15) - -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -bool QDomBuilder::startElement(const QString &nsURI, const QString &qName, - const QXmlAttributes &atts) -{ - // tag name - QDomNodePrivate *n; - if (nsProcessing) { - n = doc->createElementNS(nsURI, qName); - } else { - n = doc->createElement(qName); - } - - if (!n) - return false; - - n->setLocation(locator->line(), locator->column()); - - node->appendChild(n); - node = n; - - // attributes - for (int i = 0; i < atts.length(); i++) { - auto domElement = static_cast(node); - if (nsProcessing) - domElement->setAttributeNS(atts.uri(i), atts.qName(i), atts.value(i)); - else - domElement->setAttribute(atts.qName(i), atts.value(i)); - } - - return true; -} -QT_WARNING_POP - -#endif // QT_DEPRECATED_SINCE(5, 15) - bool QDomBuilder::startElement(const QString &nsURI, const QString &qName, const QXmlStreamAttributes &atts) { diff --git a/src/xml/dom/qdomhelpers_p.h b/src/xml/dom/qdomhelpers_p.h index 4de18f7d4d..f7264daf4b 100644 --- a/src/xml/dom/qdomhelpers_p.h +++ b/src/xml/dom/qdomhelpers_p.h @@ -41,7 +41,6 @@ #include #include -#include QT_BEGIN_NAMESPACE @@ -93,29 +92,6 @@ private: QXmlStreamReader *reader; }; -#if QT_DEPRECATED_SINCE(5, 15) - -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - -class QSAXDocumentLocator : public QXmlDocumentLocator -{ -public: - ~QSAXDocumentLocator() override = default; - - int column() const override; - int line() const override; - - void setLocator(QXmlLocator *l); - -private: - QXmlLocator *locator = nullptr; -}; - -QT_WARNING_POP - -#endif - /************************************************************** * * QDomBuilder @@ -129,12 +105,6 @@ public: ~QDomBuilder(); bool endDocument(); -#if QT_DEPRECATED_SINCE(5, 15) -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - bool startElement(const QString &nsURI, const QString &qName, const QXmlAttributes &atts); -QT_WARNING_POP -#endif bool startElement(const QString &nsURI, const QString &qName, const QXmlStreamAttributes &atts); bool endElement(); bool characters(const QString &characters, bool cdata = false); @@ -166,68 +136,6 @@ private: bool nsProcessing; }; -#if QT_DEPRECATED_SINCE(5, 15) - -/************************************************************** - * - * QDomHandler - * - **************************************************************/ - -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - -class QDomHandler : public QXmlDefaultHandler -{ -public: - QDomHandler(QDomDocumentPrivate *d, QXmlSimpleReader *reader, bool namespaceProcessing); - ~QDomHandler() override; - - // content handler - bool endDocument() override; - bool startElement(const QString &nsURI, const QString &localName, const QString &qName, - const QXmlAttributes &atts) override; - bool endElement(const QString &nsURI, const QString &localName, const QString &qName) override; - bool characters(const QString &ch) override; - bool processingInstruction(const QString &target, const QString &data) override; - bool skippedEntity(const QString &name) override; - - // error handler - bool fatalError(const QXmlParseException &exception) override; - - // lexical handler - bool startCDATA() override; - bool endCDATA() override; - bool startEntity(const QString &) override; - bool endEntity(const QString &) override; - bool startDTD(const QString &name, const QString &publicId, const QString &systemId) override; - bool comment(const QString &ch) override; - - // decl handler - bool externalEntityDecl(const QString &name, const QString &publicId, - const QString &systemId) override; - - // DTD handler - bool notationDecl(const QString &name, const QString &publicId, - const QString &systemId) override; - bool unparsedEntityDecl(const QString &name, const QString &publicId, const QString &systemId, - const QString ¬ationName) override; - - void setDocumentLocator(QXmlLocator *locator) override; - - QDomBuilder::ErrorInfo errorInfo() const; - -private: - bool cdata; - QXmlSimpleReader *reader; - QSAXDocumentLocator locator; - QDomBuilder domBuilder; -}; - -QT_WARNING_POP - -#endif // QT_DEPRECATED_SINCE(5, 15) - /************************************************************** * * QDomParser diff --git a/src/xml/sax/qxml.cpp b/src/xml/sax/qxml.cpp deleted file mode 100644 index f1f485b9bb..0000000000 --- a/src/xml/sax/qxml.cpp +++ /dev/null @@ -1,7999 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtXml module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include "qglobal.h" - -// Disable warning about use of deprecated QXmlStreamLocator in QScopedPointer<> -QT_WARNING_DISABLE_MSVC(4996) - -#include "qxml.h" -#include "qxml_p.h" -#include "qbuffer.h" -#include "qstringconverter.h" -#if QT_CONFIG(regularexpression) -#include "qregularexpression.h" -#endif -#include "qmap.h" -#include "qhash.h" -#include "qstack.h" -#include - -#if QT_DEPRECATED_SINCE(5, 15) - -#ifdef Q_CC_BOR // borland 6 finds bogus warnings when building this file in uic3 -# pragma warn -8080 -#endif - -//#define QT_QXML_DEBUG - -// Error strings for the XML reader -#define XMLERR_OK QT_TRANSLATE_NOOP("QXml", "no error occurred") -#define XMLERR_ERRORBYCONSUMER QT_TRANSLATE_NOOP("QXml", "error triggered by consumer") -#define XMLERR_UNEXPECTEDEOF QT_TRANSLATE_NOOP("QXml", "unexpected end of file") -#define XMLERR_MORETHANONEDOCTYPE QT_TRANSLATE_NOOP("QXml", "more than one document type definition") -#define XMLERR_ERRORPARSINGELEMENT QT_TRANSLATE_NOOP("QXml", "error occurred while parsing element") -#define XMLERR_TAGMISMATCH QT_TRANSLATE_NOOP("QXml", "tag mismatch") -#define XMLERR_ERRORPARSINGCONTENT QT_TRANSLATE_NOOP("QXml", "error occurred while parsing content") -#define XMLERR_UNEXPECTEDCHARACTER QT_TRANSLATE_NOOP("QXml", "unexpected character") -#define XMLERR_INVALIDNAMEFORPI QT_TRANSLATE_NOOP("QXml", "invalid name for processing instruction") -#define XMLERR_VERSIONEXPECTED QT_TRANSLATE_NOOP("QXml", "version expected while reading the XML declaration") -#define XMLERR_WRONGVALUEFORSDECL QT_TRANSLATE_NOOP("QXml", "wrong value for standalone declaration") -#define XMLERR_EDECLORSDDECLEXPECTED QT_TRANSLATE_NOOP("QXml", "encoding declaration or standalone declaration expected while reading the XML declaration") -#define XMLERR_SDDECLEXPECTED QT_TRANSLATE_NOOP("QXml", "standalone declaration expected while reading the XML declaration") -#define XMLERR_ERRORPARSINGDOCTYPE QT_TRANSLATE_NOOP("QXml", "error occurred while parsing document type definition") -#define XMLERR_LETTEREXPECTED QT_TRANSLATE_NOOP("QXml", "letter is expected") -#define XMLERR_ERRORPARSINGCOMMENT QT_TRANSLATE_NOOP("QXml", "error occurred while parsing comment") -#define XMLERR_ERRORPARSINGREFERENCE QT_TRANSLATE_NOOP("QXml", "error occurred while parsing reference") -#define XMLERR_INTERNALGENERALENTITYINDTD QT_TRANSLATE_NOOP("QXml", "internal general entity reference not allowed in DTD") -#define XMLERR_EXTERNALGENERALENTITYINAV QT_TRANSLATE_NOOP("QXml", "external parsed general entity reference not allowed in attribute value") -#define XMLERR_EXTERNALGENERALENTITYINDTD QT_TRANSLATE_NOOP("QXml", "external parsed general entity reference not allowed in DTD") -#define XMLERR_UNPARSEDENTITYREFERENCE QT_TRANSLATE_NOOP("QXml", "unparsed entity reference in wrong context") -#define XMLERR_RECURSIVEENTITIES QT_TRANSLATE_NOOP("QXml", "recursive entities") -#define XMLERR_ERRORINTEXTDECL QT_TRANSLATE_NOOP("QXml", "error in the text declaration of an external entity") - -QT_BEGIN_NAMESPACE - -namespace { - -// work around missing std::stack::clear() -template -void clear(Container &c) { c = Container(); } - -} - -// the constants for the lookup table -static const signed char cltWS = 0; // white space -static const signed char cltPer = 1; // % -static const signed char cltAmp = 2; // & -static const signed char cltGt = 3; // > -static const signed char cltLt = 4; // < -static const signed char cltSlash = 5; // / -static const signed char cltQm = 6; // ? -static const signed char cltEm = 7; // ! -static const signed char cltDash = 8; // - -static const signed char cltCB = 9; // ] -static const signed char cltOB = 10; // [ -static const signed char cltEq = 11; // = -static const signed char cltDq = 12; // " -static const signed char cltSq = 13; // ' -static const signed char cltUnknown = 14; - -// character lookup table -static const signed char charLookupTable[256]={ - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x00 - 0x07 - cltUnknown, // 0x08 - cltWS, // 0x09 \t - cltWS, // 0x0A \n - cltUnknown, // 0x0B - cltUnknown, // 0x0C - cltWS, // 0x0D \r - cltUnknown, // 0x0E - cltUnknown, // 0x0F - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x17 - 0x16 - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x18 - 0x1F - cltWS, // 0x20 Space - cltEm, // 0x21 ! - cltDq, // 0x22 " - cltUnknown, // 0x23 - cltUnknown, // 0x24 - cltPer, // 0x25 % - cltAmp, // 0x26 & - cltSq, // 0x27 ' - cltUnknown, // 0x28 - cltUnknown, // 0x29 - cltUnknown, // 0x2A - cltUnknown, // 0x2B - cltUnknown, // 0x2C - cltDash, // 0x2D - - cltUnknown, // 0x2E - cltSlash, // 0x2F / - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x30 - 0x37 - cltUnknown, // 0x38 - cltUnknown, // 0x39 - cltUnknown, // 0x3A - cltUnknown, // 0x3B - cltLt, // 0x3C < - cltEq, // 0x3D = - cltGt, // 0x3E > - cltQm, // 0x3F ? - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x40 - 0x47 - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x48 - 0x4F - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x50 - 0x57 - cltUnknown, // 0x58 - cltUnknown, // 0x59 - cltUnknown, // 0x5A - cltOB, // 0x5B [ - cltUnknown, // 0x5C - cltCB, // 0x5D] - cltUnknown, // 0x5E - cltUnknown, // 0x5F - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x60 - 0x67 - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x68 - 0x6F - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x70 - 0x77 - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x78 - 0x7F - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x80 - 0x87 - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x88 - 0x8F - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x90 - 0x97 - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0x98 - 0x9F - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0xA0 - 0xA7 - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0xA8 - 0xAF - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0xB0 - 0xB7 - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0xB8 - 0xBF - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0xC0 - 0xC7 - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0xC8 - 0xCF - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0xD0 - 0xD7 - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0xD8 - 0xDF - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0xE0 - 0xE7 - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0xE8 - 0xEF - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, // 0xF0 - 0xF7 - cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown, cltUnknown // 0xF8 - 0xFF -}; - -// -// local helper functions -// - -/* - This function strips the TextDecl [77] ("") from the string \a - str. The stripped version is stored in \a str. If this function finds an - invalid TextDecl, it returns \c false, otherwise true. - - This function is used for external entities since those can include an - TextDecl that must be stripped before inserting the entity. -*/ -static bool stripTextDecl(QString& str) -{ - QLatin1String textDeclStart("" - )); - QString strTmp = str.replace(textDecl, QLatin1String("")); - if (strTmp.length() != str.length()) - return false; // external entity has wrong TextDecl - str = strTmp; -#else - return false; -#endif - } - return true; -} - - -class QXmlAttributesPrivate -{ -}; - -/* \class QXmlInputSourcePrivate - \internal - - There's a slight misdesign in this class that can - be worth to keep in mind: the `str' member is - a buffer which QXmlInputSource::next() returns from, - and which is populated from the input device or input - stream. However, when the input is a QString(the user called - QXmlInputSource::setData()), `str' has two roles: it's the - buffer, but also the source. This /seems/ to be no problem - because in the case of having no device or stream, the QString - is read in one go. - */ -class QXmlInputSourcePrivate -{ -public: - QIODevice *inputDevice; - QTextStream *inputStream; - - QString str; - const QChar *unicode; - int pos; - int length; - bool nextReturnedEndOfData; - QStringDecoder toUnicode; - - QByteArray encodingDeclBytes; - QString encodingDeclChars; - bool lookingForEncodingDecl; -}; -class QXmlParseExceptionPrivate -{ -public: - QXmlParseExceptionPrivate() - : column(-1), line(-1) - { - } - QXmlParseExceptionPrivate(const QXmlParseExceptionPrivate &other) - : msg(other.msg), column(other.column), line(other.line), - pub(other.pub), sys(other.sys) - { - } - - QString msg; - int column; - int line; - QString pub; - QString sys; - -}; - -class QXmlLocatorPrivate -{ -}; - -class QXmlDefaultHandlerPrivate -{ -}; - -/*! - \class QXmlParseException - \obsolete - \reentrant - \brief The QXmlParseException class is used to report errors with - the QXmlErrorHandler interface. - - \inmodule QtXml - \ingroup xml-tools - - The XML subsystem constructs an instance of this class when it - detects an error. You can retrieve the place where the error - occurred using systemId(), publicId(), lineNumber() and - columnNumber(), along with the error message(). The possible error - messages are: - - - \list - \li "no error occurred" - \li "error triggered by consumer" - \li "unexpected end of file" - \li "more than one document type definition" - \li "error occurred while parsing element" - \li "tag mismatch" - \li "error occurred while parsing content" - \li "unexpected character" - \li "invalid name for processing instruction" - \li "version expected while reading the XML declaration" - \li "wrong value for standalone declaration" - \li "encoding declaration or standalone declaration expected while reading the XML declaration" - \li "standalone declaration expected while reading the XML declaration" - \li "error occurred while parsing document type definition" - \li "letter is expected" - \li "error occurred while parsing comment" - \li "error occurred while parsing reference" - \li "internal general entity reference not allowed in DTD" - \li "external parsed general entity reference not allowed in attribute value" - \li "external parsed general entity reference not allowed in DTD" - \li "unparsed entity reference n wrong context" - \li "recursive entities" - \li "error in the text declaration of an external entity" - \endlist - - Note that, if you want to display these error messages to your - application's users, they will be displayed in English unless - they are explicitly translated. - - \sa QXmlErrorHandler, QXmlReader -*/ - -/*! - Constructs a parse exception with the error string \a name for - column \a c and line \a l for the public identifier \a p and the - system identifier \a s. -*/ - -QXmlParseException::QXmlParseException(const QString& name, int c, int l, - const QString& p, const QString& s) - : d(new QXmlParseExceptionPrivate) -{ - d->msg = name; - d->column = c; - d->line = l; - d->pub = p; - d->sys = s; -} - -/*! - Creates a copy of \a other. -*/ -QXmlParseException::QXmlParseException(const QXmlParseException& other) : - d(new QXmlParseExceptionPrivate(*other.d)) -{ - -} - -/*! - Destroys the QXmlParseException. -*/ -QXmlParseException::~QXmlParseException() -{ -} - -/*! - Returns the error message. -*/ -QString QXmlParseException::message() const -{ - return d->msg; -} -/*! - Returns the column number where the error occurred. -*/ -int QXmlParseException::columnNumber() const -{ - return d->column; -} -/*! - Returns the line number where the error occurred. -*/ -int QXmlParseException::lineNumber() const -{ - return d->line; -} -/*! - Returns the public identifier where the error occurred. -*/ -QString QXmlParseException::publicId() const -{ - return d->pub; -} -/*! - Returns the system identifier where the error occurred. -*/ -QString QXmlParseException::systemId() const -{ - return d->sys; -} - - -/*! - \class QXmlLocator - \obsolete - \reentrant - \brief The QXmlLocator class provides the XML handler classes with - information about the parsing position within a file. - - \inmodule QtXml - \ingroup xml-tools - - The reader reports a QXmlLocator to the content handler before it - starts to parse the document. This is done with the - QXmlContentHandler::setDocumentLocator() function. The handler - classes can now use this locator to get the position (lineNumber() - and columnNumber()) that the reader has reached. -*/ - -/*! - Constructor. -*/ -QXmlLocator::QXmlLocator() -{ -} - -/*! - Destructor. -*/ -QXmlLocator::~QXmlLocator() -{ -} - -/*! - \fn int QXmlLocator::columnNumber() const - - Returns the column number (starting at 1) or -1 if there is no - column number available. -*/ - -/*! - \fn int QXmlLocator::lineNumber() const - - Returns the line number (starting at 1) or -1 if there is no line - number available. -*/ - -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - -class QXmlSimpleReaderLocator : public QXmlLocator -{ -public: - QXmlSimpleReaderLocator(QXmlSimpleReader* parent) - { - reader = parent; - } - ~QXmlSimpleReaderLocator() - { - } - - int columnNumber() const override - { - return (reader->d_ptr->columnNr == -1 ? -1 : reader->d_ptr->columnNr + 1); - } - int lineNumber() const override - { - return (reader->d_ptr->lineNr == -1 ? -1 : reader->d_ptr->lineNr + 1); - } -// QString getPublicId() -// QString getSystemId() - -private: - QXmlSimpleReader *reader; -}; - -/********************************************* - * - * QXmlNamespaceSupport - * - *********************************************/ - -typedef QMap NamespaceMap; - -class QXmlNamespaceSupportPrivate -{ -public: - QXmlNamespaceSupportPrivate() - { - ns.insert(QLatin1String("xml"), QLatin1String("http://www.w3.org/XML/1998/namespace")); // the XML namespace - } - - ~QXmlNamespaceSupportPrivate() - { - } - - QStack nsStack; - NamespaceMap ns; -}; - -/*! - \class QXmlNamespaceSupport - \obsolete - \since 4.4 - \reentrant - \brief The QXmlNamespaceSupport class is a helper class for XML - readers which want to include namespace support. - - \inmodule QtXml - \ingroup xml-tools - - You can set the prefix for the current namespace with setPrefix(), - and get the list of current prefixes (or those for a given URI) - with prefixes(). The namespace URI is available from uri(). Use - pushContext() to start a new namespace context, and popContext() - to return to the previous namespace context. Use splitName() or - processName() to split a name into its prefix and local name. -*/ - -/*! - Constructs a QXmlNamespaceSupport. -*/ -QXmlNamespaceSupport::QXmlNamespaceSupport() -{ - d = new QXmlNamespaceSupportPrivate; -} - -/*! - Destroys a QXmlNamespaceSupport. -*/ -QXmlNamespaceSupport::~QXmlNamespaceSupport() -{ - delete d; -} - -/*! - This function declares a prefix \a pre in the current namespace - context to be the namespace URI \a uri. The prefix remains in - force until this context is popped, unless it is shadowed in a - descendant context. - - Note that there is an asymmetry in this library. prefix() does not - return the default "" prefix, even if you have declared one; to - check for a default prefix, you must look it up explicitly using - uri(). This asymmetry exists to make it easier to look up prefixes - for attribute names, where the default prefix is not allowed. -*/ -void QXmlNamespaceSupport::setPrefix(const QString& pre, const QString& uri) -{ - if(pre.isNull()) { - d->ns.insert(QLatin1String(""), uri); - } else { - d->ns.insert(pre, uri); - } -} - -/*! - Returns one of the prefixes mapped to the namespace URI \a uri. - - If more than one prefix is currently mapped to the same URI, this - function makes an arbitrary selection; if you want all of the - prefixes, use prefixes() instead. - - Note: to check for a default prefix, use the uri() function with - an argument of "". -*/ -QString QXmlNamespaceSupport::prefix(const QString& uri) const -{ - NamespaceMap::const_iterator itc, it = d->ns.constBegin(); - while ((itc=it) != d->ns.constEnd()) { - ++it; - if (*itc == uri && !itc.key().isEmpty()) - return itc.key(); - } - return QLatin1String(""); -} - -/*! - Looks up the prefix \a prefix in the current context and returns - the currently-mapped namespace URI. Use the empty string ("") for - the default namespace. -*/ -QString QXmlNamespaceSupport::uri(const QString& prefix) const -{ - return d->ns[prefix]; -} - -/*! - Splits the name \a qname at the ':' and returns the prefix in \a - prefix and the local name in \a localname. - - \sa processName() -*/ -void QXmlNamespaceSupport::splitName(const QString& qname, QString& prefix, - QString& localname) const -{ - int pos = qname.indexOf(QLatin1Char(':')); - if (pos == -1) - pos = qname.size(); - - prefix = qname.left(pos); - localname = qname.mid(pos+1); -} - -/*! - Processes a raw XML 1.0 name in the current context by removing - the prefix and looking it up among the prefixes currently - declared. - - \a qname is the raw XML 1.0 name to be processed. \a isAttribute - is true if the name is an attribute name. - - This function stores the namespace URI in \a nsuri (which will be - set to an empty string if the raw name has an undeclared prefix), - and stores the local name (without prefix) in \a localname (which - will be set to an empty string if no namespace is in use). - - Note that attribute names are processed differently than element - names: an unprefixed element name gets the default namespace (if - any), while an unprefixed attribute name does not. -*/ -void QXmlNamespaceSupport::processName(const QString& qname, - bool isAttribute, - QString& nsuri, QString& localname) const -{ - int len = qname.size(); - const QChar *data = qname.constData(); - for (int pos = 0; pos < len; ++pos) { - if (data[pos] == QLatin1Char(':')) { - nsuri = uri(qname.left(pos)); - localname = qname.mid(pos + 1); - return; - } - } - - // there was no ':' - nsuri.clear(); - // attributes don't take default namespace - if (!isAttribute && !d->ns.isEmpty()) { - /* - We want to access d->ns.value(""), but as an optimization - we use the fact that "" compares less than any other - string, so it's either first in the map or not there. - */ - NamespaceMap::const_iterator first = d->ns.constBegin(); - if (first.key().isEmpty()) - nsuri = first.value(); // get default namespace - } - localname = qname; -} - -/*! - Returns a list of all the prefixes currently declared. - - If there is a default prefix, this function does not return it in - the list; check for the default prefix using uri() with an - argument of "". -*/ -QStringList QXmlNamespaceSupport::prefixes() const -{ - QStringList list; - - NamespaceMap::const_iterator itc, it = d->ns.constBegin(); - while ((itc=it) != d->ns.constEnd()) { - ++it; - if (!itc.key().isEmpty()) - list.append(itc.key()); - } - return list; -} - -/*! - \overload - - Returns a list of all prefixes currently declared for the - namespace URI \a uri. - - The "xml:" prefix is included. If you only want one prefix that is - mapped to the namespace URI, and you don't care which one you get, - use the prefix() function instead. - - Note: The empty (default) prefix is never included in this list; - to check for the presence of a default namespace, call uri() with - "" as the argument. -*/ -QStringList QXmlNamespaceSupport::prefixes(const QString& uri) const -{ - QStringList list; - - NamespaceMap::const_iterator itc, it = d->ns.constBegin(); - while ((itc=it) != d->ns.constEnd()) { - ++it; - if (*itc == uri && !itc.key().isEmpty()) - list.append(itc.key()); - } - return list; -} - -/*! - Starts a new namespace context. - - Normally, you should push a new context at the beginning of each - XML element: the new context automatically inherits the - declarations of its parent context, and it also keeps track of - which declarations were made within this context. - - \sa popContext() -*/ -void QXmlNamespaceSupport::pushContext() -{ - d->nsStack.push(d->ns); -} - -/*! - Reverts to the previous namespace context. - - Normally, you should pop the context at the end of each XML - element. After popping the context, all namespace prefix mappings - that were previously in force are restored. - - \sa pushContext() -*/ -void QXmlNamespaceSupport::popContext() -{ - d->ns.clear(); - if(!d->nsStack.isEmpty()) - d->ns = d->nsStack.pop(); -} - -/*! - Resets this namespace support object ready for reuse. -*/ -void QXmlNamespaceSupport::reset() -{ - QXmlNamespaceSupportPrivate *newD = new QXmlNamespaceSupportPrivate; - delete d; - d = newD; -} - - - -/********************************************* - * - * QXmlAttributes - * - *********************************************/ - -/*! - \class QXmlAttributes - \obsolete - \reentrant - \brief The QXmlAttributes class provides XML attributes. - - \inmodule QtXml - \ingroup xml-tools - - If attributes are reported by QXmlContentHandler::startElement() - this class is used to pass the attribute values. - - Use index() to locate the position of an attribute in the list, - count() to retrieve the number of attributes, and clear() to - remove the attributes. New attributes can be added with append(). - Use type() to get an attribute's type and value() to get its - value. The attribute's name is available from localName() or - qName(), and its namespace URI from uri(). - -*/ - -/*! - \fn QXmlAttributes::QXmlAttributes() - - Constructs an empty attribute list. -*/ -QXmlAttributes::QXmlAttributes() -{ - // ### In Qt 5.0, this function was inlined and d was not initialized - // The member cannot be used until Qt 6.0 - Q_UNUSED(d); -} - -/*! - \fn QXmlAttributes::~QXmlAttributes() - - Destroys the attributes object. -*/ -QXmlAttributes::~QXmlAttributes() -{ -} - -/*! - \fn void QXmlAttributes::swap(QXmlAttributes &other) - - Swaps \c this with \a other. - */ - -/*! - Looks up the index of an attribute by the qualified name \a qName. - - Returns the index of the attribute or -1 if it wasn't found. -*/ -int QXmlAttributes::index(const QString& qName) const -{ - for (int i = 0; i < attList.size(); ++i) { - if (attList.at(i).qname == qName) - return i; - } - return -1; -} - -/*! \overload - */ -int QXmlAttributes::index(QLatin1String qName) const -{ - for (int i = 0; i < attList.size(); ++i) { - if (attList.at(i).qname == qName) - return i; - } - return -1; -} - -/*! - \overload - - Looks up the index of an attribute by a namespace name. - - \a uri specifies the namespace URI, or an empty string if the name - has no namespace URI. \a localPart specifies the attribute's local - name. - - Returns the index of the attribute, or -1 if it wasn't found. -*/ -int QXmlAttributes::index(const QString& uri, const QString& localPart) const -{ - for (int i = 0; i < attList.size(); ++i) { - const Attribute &att = attList.at(i); - if (att.uri == uri && att.localname == localPart) - return i; - } - return -1; -} - -/*! - Returns the number of attributes in the list. - - \sa count() -*/ -int QXmlAttributes::length() const -{ - return attList.count(); -} - -/*! - \fn int QXmlAttributes::count() const - - Returns the number of attributes in the list. This function is - equivalent to length(). -*/ - -/*! - Looks up an attribute's local name for the attribute at position - \a index. If no namespace processing is done, the local name is - an empty string. -*/ -QString QXmlAttributes::localName(int index) const -{ - return attList.at(index).localname; -} - -/*! - Looks up an attribute's XML 1.0 qualified name for the attribute - at position \a index. -*/ -QString QXmlAttributes::qName(int index) const -{ - return attList.at(index).qname; -} - -/*! - Looks up an attribute's namespace URI for the attribute at - position \a index. If no namespace processing is done or if the - attribute has no namespace, the namespace URI is an empty string. -*/ -QString QXmlAttributes::uri(int index) const -{ - return attList.at(index).uri; -} - -/*! - Looks up an attribute's type for the attribute at position \a - index. - - Currently only "CDATA" is returned. -*/ -QString QXmlAttributes::type(int) const -{ - return QLatin1String("CDATA"); -} - -/*! - \overload - - Looks up an attribute's type for the qualified name \a qName. - - Currently only "CDATA" is returned. -*/ -QString QXmlAttributes::type(const QString&) const -{ - return QLatin1String("CDATA"); -} - -/*! - \overload - - Looks up an attribute's type by namespace name. - - \a uri specifies the namespace URI and \a localName specifies the - local name. If the name has no namespace URI, use an empty string - for \a uri. - - Currently only "CDATA" is returned. -*/ -QString QXmlAttributes::type(const QString&, const QString&) const -{ - return QLatin1String("CDATA"); -} - -/*! - Returns an attribute's value for the attribute at position \a - index. The index must be a valid position - (i.e., 0 <= \a index < count()). -*/ -QString QXmlAttributes::value(int index) const -{ - return attList.at(index).value; -} - -/*! - \overload - - Returns an attribute's value for the qualified name \a qName, or an - empty string if no attribute exists for the name given. -*/ -QString QXmlAttributes::value(const QString& qName) const -{ - int i = index(qName); - if (i == -1) - return QString(); - return attList.at(i).value; -} - -/*! - \overload - - Returns an attribute's value for the qualified name \a qName, or an - empty string if no attribute exists for the name given. -*/ -QString QXmlAttributes::value(QLatin1String qName) const -{ - int i = index(qName); - if (i == -1) - return QString(); - return attList.at(i).value; -} - -/*! - \overload - - Returns an attribute's value by namespace name. - - \a uri specifies the namespace URI, or an empty string if the name - has no namespace URI. \a localName specifies the attribute's local - name. -*/ -QString QXmlAttributes::value(const QString& uri, const QString& localName) const -{ - int i = index(uri, localName); - if (i == -1) - return QString(); - return attList.at(i).value; -} - -/*! - Clears the list of attributes. - - \sa append() -*/ -void QXmlAttributes::clear() -{ - attList.clear(); -} - -/*! - Appends a new attribute entry to the list of attributes. The - qualified name of the attribute is \a qName, the namespace URI is - \a uri and the local name is \a localPart. The value of the - attribute is \a value. - - \sa qName(), uri(), localName(), value() -*/ -void QXmlAttributes::append(const QString &qName, const QString &uri, const QString &localPart, const QString &value) -{ - Attribute att; - att.qname = qName; - att.uri = uri; - att.localname = localPart; - att.value = value; - - attList.append(att); -} - - -/********************************************* - * - * QXmlInputSource - * - *********************************************/ - -/*! - \class QXmlInputSource - \obsolete - \reentrant - \brief The QXmlInputSource class provides the input data for the - QXmlReader subclasses. - - \inmodule QtXml - \ingroup xml-tools - - All subclasses of QXmlReader read the input XML document from this - class. - - This class recognizes the encoding of the data by reading the - encoding declaration in the XML file if it finds one, and reading - the data using the corresponding encoding. If it does not find an - encoding declaration, then it assumes that the data is either in - UTF-8 or UTF-16, depending on whether it can find a byte-order - mark. - - There are two ways to populate the input source with data: you can - construct it with a QIODevice* so that the input source reads the - data from that device. Or you can set the data explicitly with one - of the setData() functions. - - Usually you either construct a QXmlInputSource that works on a - QIODevice* or you construct an empty QXmlInputSource and set the - data with setData(). There are only rare occasions where you would - want to mix both methods. - - The QXmlReader subclasses use the next() function to read the - input character by character. If you want to start from the - beginning again, use reset(). - - The functions data() and fetchData() are useful if you want to do - something with the data other than parsing, e.g. displaying the - raw XML file. The benefit of using the QXmlInputClass in such - cases is that it tries to use the correct encoding. - - \sa QXmlReader, QXmlSimpleReader -*/ - -// the following two are guaranteed not to be a character -const char16_t QXmlInputSource::EndOfData = 0xfffe; -const char16_t QXmlInputSource::EndOfDocument = 0xffff; - -/* - Common part of the constructors. -*/ -void QXmlInputSource::init() -{ - d = new QXmlInputSourcePrivate; - - QT_TRY { - d->inputDevice = nullptr; - d->inputStream = nullptr; - - setData(QString()); - d->nextReturnedEndOfData = true; // first call to next() will call fetchData() - - d->encodingDeclBytes.clear(); - d->encodingDeclChars.clear(); - d->lookingForEncodingDecl = true; - } QT_CATCH(...) { - delete(d); - QT_RETHROW; - } -} - -/*! - Constructs an input source which contains no data. - - \sa setData() -*/ -QXmlInputSource::QXmlInputSource() -{ - init(); -} - -/*! - Constructs an input source and gets the data from device \a dev. - If \a dev is not open, it is opened in read-only mode. If \a dev - is 0 or it is not possible to read from the device, the input - source will contain no data. - - \sa setData(), fetchData(), QIODevice -*/ -QXmlInputSource::QXmlInputSource(QIODevice *dev) -{ - init(); - d->inputDevice = dev; - if (dev->isOpen()) - d->inputDevice->setTextModeEnabled(false); -} - -/*! - Destructor. -*/ -QXmlInputSource::~QXmlInputSource() -{ - // ### close the input device. - delete d; -} - -/*! -Returns the next character of the input source. If this function -reaches the end of available data, it returns -QXmlInputSource::EndOfData. If you call next() after that, it -tries to fetch more data by calling fetchData(). If the -fetchData() call results in new data, this function returns the -first character of that data; otherwise it returns -QXmlInputSource::EndOfDocument. - -Readers, such as QXmlSimpleReader, will assume that the end of -the XML document has been reached if the this function returns -QXmlInputSource::EndOfDocument, and will check that the -supplied input is well-formed. Therefore, when reimplementing -this function, it is important to ensure that this behavior is -duplicated. - -\sa reset(), fetchData(), QXmlSimpleReader::parse(), - QXmlSimpleReader::parseContinue() -*/ -QChar QXmlInputSource::next() -{ - if (d->pos >= d->length) { - if (d->nextReturnedEndOfData) { - d->nextReturnedEndOfData = false; - fetchData(); - if (d->pos >= d->length) { - return EndOfDocument; - } - return next(); - } - d->nextReturnedEndOfData = true; - return EndOfData; - } - - // QXmlInputSource has no way to signal encoding errors. The best we can do - // is return EndOfDocument. We do *not* return EndOfData, because the reader - // will then just call this function again to get the next char. - QChar c = d->unicode[d->pos++]; - if (c == EndOfData) - c = EndOfDocument; - return c; -} - -/*! - This function sets the position used by next() to the beginning of - the data returned by data(). This is useful if you want to use the - input source for more than one parse. - - \note In the case that the underlying data source is a QIODevice, - the current position in the device is not automatically set to the - start of input. Call QIODevice::seek(0) on the device to do this. - - \sa next() -*/ -void QXmlInputSource::reset() -{ - d->nextReturnedEndOfData = false; - d->pos = 0; -} - -/*! - Returns the data the input source contains or an empty string if the - input source does not contain any data. - - \sa setData(), QXmlInputSource(), fetchData() -*/ -QString QXmlInputSource::data() const -{ - if (d->nextReturnedEndOfData) { - QXmlInputSource *that = const_cast(this); - that->d->nextReturnedEndOfData = false; - that->fetchData(); - } - return d->str; -} - -/*! - Sets the data of the input source to \a dat. - - If the input source already contains data, this function deletes - that data first. - - \sa data() -*/ -void QXmlInputSource::setData(const QString& dat) -{ - d->str = dat; - d->unicode = dat.unicode(); - d->pos = 0; - d->length = d->str.length(); - d->nextReturnedEndOfData = false; -} - -/*! - \overload - - The data \a dat is passed through the correct text-codec, before - it is set. -*/ -void QXmlInputSource::setData(const QByteArray& dat) -{ - setData(fromRawData(dat)); -} - -/*! - This function reads more data from the device that was set during - construction. If the input source already contained data, this - function deletes that data first. - - This object contains no data after a call to this function if the - object was constructed without a device to read data from or if - this function was not able to get more data from the device. - - There are two occasions where a fetch is done implicitly by - another function call: during construction (so that the object - starts out with some initial data where available), and during a - call to next() (if the data had run out). - - You don't normally need to use this function if you use next(). - - \sa data(), next(), QXmlInputSource() -*/ - -void QXmlInputSource::fetchData() -{ - enum - { - BufferSize = 1024 - }; - - QByteArray rawData; - - if (d->inputDevice || d->inputStream) { - QIODevice *device = d->inputDevice ? d->inputDevice : d->inputStream->device(); - - if (!device) { - if (d->inputStream && d->inputStream->string()) { - QString *s = d->inputStream->string(); - rawData = QByteArray(reinterpret_cast(s->constData()), - int(s->size() * sizeof(QChar))); - } - } else if (device->isOpen() || device->open(QIODevice::ReadOnly)) { - rawData.resize(BufferSize); - qint64 size = device->read(rawData.data(), BufferSize); - if (size == 0 && device->waitForReadyRead(-1)) - size = device->read(rawData.data(), BufferSize); - - rawData.resize(qMax(qint64(0), size)); - } - - /* We do this inside the "if (d->inputDevice ..." scope - * because if we're not using a stream or device, that is, - * the user set a QString manually, we don't want to set - * d->str. */ - setData(fromRawData(rawData)); - } -} - -static QString extractEncodingDecl(const QString &text, bool *needMoreText) -{ - *needMoreText = false; - - int l = text.length(); - const QLatin1String snip(" 0 && !text.startsWith(snip)) - return QString(); - - int endPos = text.indexOf(QLatin1Char('>')); - if (endPos == -1) { - *needMoreText = l < 255; // we won't look forever - return QString(); - } - - int pos = text.indexOf(QLatin1String("encoding")); - if (pos == -1 || pos >= endPos) - return QString(); - - while (pos < endPos) { - QChar uc = text.at(pos); - if (uc == u'\'' || uc == u'"') - break; - ++pos; - } - - if (pos == endPos) - return QString(); - - QString encoding; - ++pos; - while (pos < endPos) { - QChar uc = text.at(pos); - if (uc == u'\'' || uc == u'"') - break; - encoding.append(uc); - ++pos; - } - - return encoding; -} - -/*! - This function reads the XML file from \a data and tries to - recognize the encoding. It converts the raw data \a data into a - QString and returns it. It tries its best to get the correct - encoding for the XML file. - - If \a beginning is true, this function assumes that the data - starts at the beginning of a new XML document and looks for an - encoding declaration. If \a beginning is false, it converts the - raw data using the encoding determined from prior calls. -*/ -QString QXmlInputSource::fromRawData(const QByteArray &data, bool beginning) -{ - if (data.size() == 0) - return QString(); - - if (beginning) - d->toUnicode = QStringDecoder(); - - // This is the initial UTF codec we will read the encoding declaration with - if (!d->toUnicode.isValid()) { - d->encodingDeclBytes.clear(); - d->encodingDeclChars.clear(); - d->lookingForEncodingDecl = true; - - auto encoding = QStringConverter::encodingForData(data.constData(), data.size(), char16_t('<')); - if (encoding) { - d->lookingForEncodingDecl = false; - d->toUnicode = QStringDecoder(*encoding); - } else { - d->toUnicode = QStringDecoder(QStringDecoder::Utf8); - } - } - - QString input = d->toUnicode(data.constData(), data.size()); - - if (d->lookingForEncodingDecl) { - d->encodingDeclChars += input; - - bool needMoreText; - QByteArray encoding = extractEncodingDecl(d->encodingDeclChars, &needMoreText).toLatin1(); - - if (!encoding.isEmpty()) { - auto e = QStringDecoder::encodingForData(encoding.constData(), encoding.size()); - if (e && *e != QStringDecoder::Utf8) { - d->toUnicode = QStringDecoder(*e); - - /* The variable input can potentially be large, so we deallocate - * it before calling toUnicode() in order to avoid having two - * large QStrings in memory simultaneously. */ - input.clear(); - - // prime the decoder with the data so far - d->toUnicode(d->encodingDeclBytes.constData(), d->encodingDeclBytes.size()); - // now feed it the new data - input = d->toUnicode(data.constData(), data.size()); - } - } - - d->encodingDeclBytes += data; - d->lookingForEncodingDecl = needMoreText; - } - - return input; -} - - -/********************************************* - * - * QXmlDefaultHandler - * - *********************************************/ - -/*! - \class QXmlContentHandler - \obsolete - \reentrant - \brief The QXmlContentHandler class provides an interface to - report the logical content of XML data. - - \inmodule QtXml - \ingroup xml-tools - - If the application needs to be informed of basic parsing events, - it can implement this interface and activate it using - QXmlReader::setContentHandler(). The reader can then report basic - document-related events like the start and end of elements and - character data through this interface. - - The order of events in this interface is very important, and - mirrors the order of information in the document itself. For - example, all of an element's content (character data, processing - instructions, and sub-elements) appears, in order, between the - startElement() event and the corresponding endElement() event. - - The class QXmlDefaultHandler provides a default implementation for - this interface; subclassing from the QXmlDefaultHandler class is - very convenient if you only want to be informed of some parsing - events. - - The startDocument() function is called at the start of the - document, and endDocument() is called at the end. Before parsing - begins setDocumentLocator() is called. For each element - startElement() is called, with endElement() being called at the - end of each element. The characters() function is called with - chunks of character data; ignorableWhitespace() is called with - chunks of whitespace and processingInstruction() is called with - processing instructions. If an entity is skipped skippedEntity() - is called. At the beginning of prefix-URI scopes - startPrefixMapping() is called. - - \sa QXmlDTDHandler, QXmlDeclHandler, QXmlEntityResolver, QXmlErrorHandler, - QXmlLexicalHandler -*/ - -/*! - \fn QXmlContentHandler::~QXmlContentHandler() - - Destroys the content handler. -*/ - -/*! - \fn void QXmlContentHandler::setDocumentLocator(QXmlLocator* locator) - - The reader calls this function before it starts parsing the - document. The argument \a locator is a pointer to a QXmlLocator - which allows the application to get the parsing position within - the document. - - Do not destroy the \a locator; it is destroyed when the reader is - destroyed. (Do not use the \a locator after the reader is - destroyed). -*/ - -/*! - \fn bool QXmlContentHandler::startDocument() - - The reader calls this function when it starts parsing the - document. The reader calls this function just once, after the call - to setDocumentLocator(), and before any other functions in this - class or in the QXmlDTDHandler class are called. - - If this function returns \c false the reader stops parsing and - reports an error. The reader uses the function errorString() to - get the error message. - - \sa endDocument() -*/ - -/*! - \fn bool QXmlContentHandler::endDocument() - - The reader calls this function after it has finished parsing. It - is called just once, and is the last handler function called. It - is called after the reader has read all input or has abandoned - parsing because of a fatal error. - - If this function returns \c false the reader stops parsing and - reports an error. The reader uses the function errorString() to - get the error message. - - \sa startDocument() -*/ - -/*! - \fn bool QXmlContentHandler::startPrefixMapping(const QString& prefix, const QString& uri) - - The reader calls this function to signal the begin of a prefix-URI - namespace mapping scope. This information is not necessary for - normal namespace processing since the reader automatically - replaces prefixes for element and attribute names. - - Note that startPrefixMapping() and endPrefixMapping() calls are - not guaranteed to be properly nested relative to each other: all - startPrefixMapping() events occur before the corresponding - startElement() event, and all endPrefixMapping() events occur - after the corresponding endElement() event, but their order is not - otherwise guaranteed. - - The argument \a prefix is the namespace prefix being declared and - the argument \a uri is the namespace URI the prefix is mapped to. - - If this function returns \c false the reader stops parsing and - reports an error. The reader uses the function errorString() to - get the error message. - - \sa endPrefixMapping() -*/ - -/*! - \fn bool QXmlContentHandler::endPrefixMapping(const QString& prefix) - - The reader calls this function to signal the end of a prefix - mapping for the prefix \a prefix. - - If this function returns \c false the reader stops parsing and - reports an error. The reader uses the function errorString() to - get the error message. - - \sa startPrefixMapping() -*/ - -/*! - \fn bool QXmlContentHandler::startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) - - The reader calls this function when it has parsed a start element - tag. - - There is a corresponding endElement() call when the corresponding - end element tag is read. The startElement() and endElement() calls - are always nested correctly. Empty element tags (e.g. \c{}) - cause a startElement() call to be immediately followed by an - endElement() call. - - The attribute list provided only contains attributes with explicit - values. The attribute list contains attributes used for namespace - declaration (i.e. attributes starting with xmlns) only if the - namespace-prefix property of the reader is true. - - The argument \a namespaceURI is the namespace URI, or - an empty string if the element has no namespace URI or if no - namespace processing is done. \a localName is the local name - (without prefix), or an empty string if no namespace processing is - done, \a qName is the qualified name (with prefix) and \a atts are - the attributes attached to the element. If there are no - attributes, \a atts is an empty attributes object. - - If this function returns \c false the reader stops parsing and - reports an error. The reader uses the function errorString() to - get the error message. - - \sa endElement() -*/ - -/*! - \fn bool QXmlContentHandler::endElement(const QString& namespaceURI, const QString& localName, const QString& qName) - - The reader calls this function when it has parsed an end element - tag with the qualified name \a qName, the local name \a localName - and the namespace URI \a namespaceURI. - - If this function returns \c false the reader stops parsing and - reports an error. The reader uses the function errorString() to - get the error message. - - \sa startElement() -*/ - -/*! - \fn bool QXmlContentHandler::characters(const QString& ch) - - The reader calls this function when it has parsed a chunk of - character data (either normal character data or character data - inside a CDATA section; if you need to distinguish between those - two types you must use QXmlLexicalHandler::startCDATA() and - QXmlLexicalHandler::endCDATA()). The character data is reported in - \a ch. - - Some readers report whitespace in element content using the - ignorableWhitespace() function rather than using this one. - - A reader may report the character data of an element in more than - one chunk; e.g. a reader might want to report "a\clear(); - else - parseStack = new QStack; -} - -/********************************************* - * - * QXmlSimpleReader - * - *********************************************/ - -/*! - \class QXmlReader - \obsolete - \reentrant - \brief The QXmlReader class provides an interface for XML readers (i.e. - parsers). - - \inmodule QtXml - \ingroup xml-tools - - This abstract class provides an interface for all of Qt's XML - readers. Currently there is only one implementation of a reader - included in Qt's XML module: QXmlSimpleReader. In future releases - there might be more readers with different properties available - (e.g. a validating parser). - - The design of the XML classes follows the \l{SAX2 Java interface}, with - the names adapted to fit Qt naming conventions. It should be very - easy for anybody who has worked with SAX2 to get started with the - Qt XML classes. - - All readers use the class QXmlInputSource to read the input - document. Since you are normally interested in particular content - in the XML document, the reader reports the content through - special handler classes (QXmlDTDHandler, QXmlDeclHandler, - QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler and - QXmlLexicalHandler), which you must subclass, if you want to - process the contents. - - Since the handler classes only describe interfaces you must - implement all the functions. We provide the QXmlDefaultHandler - class to make this easier: it implements a default behavior (do - nothing) for all functions, so you can subclass it and just - implement the functions you are interested in. - - Features and properties of the reader can be set with setFeature() - and setProperty() respectively. You can set the reader to use your - own subclasses with setEntityResolver(), setDTDHandler(), - setContentHandler(), setErrorHandler(), setLexicalHandler() and - setDeclHandler(). The parse itself is started with a call to - parse(). - - Note that this class is now deprecated, please use QXmlStreamReader or - QDomDocument for reading XML files. - - \sa QXmlSimpleReader -*/ - -/*! - \fn QXmlReader::~QXmlReader() - - Destroys the reader. -*/ - -/*! - \fn bool QXmlReader::feature(const QString& name, bool *ok) const - - If the reader has the feature called \a name, the feature's value - is returned. If no such feature exists the return value is - undefined. - - If \a ok is not \nullptr: \c{*}\a{ok} is set to true if the - reader has the feature called \a name; otherwise \c{*}\a{ok} is - set to false. - - \sa setFeature(), hasFeature() -*/ - -/*! - \fn void QXmlReader::setFeature(const QString& name, bool value) - - Sets the feature called \a name to the given \a value. If the - reader doesn't have the feature nothing happens. - - \sa feature(), hasFeature() -*/ - -/*! - \fn bool QXmlReader::hasFeature(const QString& name) const - - Returns \c true if the reader has the feature called \a name; - otherwise returns \c false. - - \sa feature(), setFeature() -*/ - -/*! - \fn void* QXmlReader::property(const QString& name, bool *ok) const - - If the reader has the property \a name, this function returns the - value of the property; otherwise the return value is undefined. - - If \a ok is not \nullptr: if the reader has the \a name property - \c{*}\a{ok} is set to true; otherwise \c{*}\a{ok} is set to false. - - \sa setProperty(), hasProperty() -*/ - -/*! - \fn void QXmlReader::setProperty(const QString& name, void* value) - - Sets the property \a name to \a value. If the reader doesn't have - the property nothing happens. - - \sa property(), hasProperty() -*/ - -/*! - \fn bool QXmlReader::hasProperty(const QString& name) const - - Returns \c true if the reader has the property \a name; otherwise - returns \c false. - - \sa property(), setProperty() -*/ - -/*! - \fn void QXmlReader::setEntityResolver(QXmlEntityResolver* handler) - - Sets the entity resolver to \a handler. - - \sa entityResolver() -*/ - -/*! - \fn QXmlEntityResolver *QXmlReader::entityResolver() const - - Returns the entity resolver or \nullptr if none was set. - - \sa setEntityResolver() -*/ - -/*! - \fn void QXmlReader::setDTDHandler(QXmlDTDHandler* handler) - - Sets the DTD handler to \a handler. - - \sa DTDHandler() -*/ - -/*! - \fn QXmlDTDHandler *QXmlReader::DTDHandler() const - - Returns the DTD handler or \nullptr if none was set. - - \sa setDTDHandler() -*/ - -/*! - \fn void QXmlReader::setContentHandler(QXmlContentHandler* handler) - - Sets the content handler to \a handler. - - \sa contentHandler() -*/ - -/*! - \fn QXmlContentHandler *QXmlReader::contentHandler() const - - Returns the content handler or \nullptr if none was set. - - \sa setContentHandler() -*/ - -/*! - \fn void QXmlReader::setErrorHandler(QXmlErrorHandler* handler) - - Sets the error handler to \a handler. Clears the error handler if - \a handler is 0. - - \sa errorHandler() -*/ - -/*! - \fn QXmlErrorHandler *QXmlReader::errorHandler() const - - Returns the error handler or \nullptr if none is set. - - \sa setErrorHandler() -*/ - -/*! - \fn void QXmlReader::setLexicalHandler(QXmlLexicalHandler* handler) - - Sets the lexical handler to \a handler. - - \sa lexicalHandler() -*/ - -/*! - \fn QXmlLexicalHandler *QXmlReader::lexicalHandler() const - - Returns the lexical handler or \nullptr if none was set. - - \sa setLexicalHandler() -*/ - -/*! - \fn void QXmlReader::setDeclHandler(QXmlDeclHandler* handler) - - Sets the declaration handler to \a handler. - - \sa declHandler() -*/ - -/*! - \fn QXmlDeclHandler *QXmlReader::declHandler() const - - Returns the declaration handler or \nullptr if none was set. - - \sa setDeclHandler() -*/ - -/*! - \fn bool QXmlReader::parse(const QXmlInputSource &input) - - \obsolete - - Parses the given \a input. -*/ - -/*! - \fn bool QXmlReader::parse(const QXmlInputSource *input) - - Reads an XML document from \a input and parses it. Returns \c true if - the parsing was successful; otherwise returns \c false. -*/ - - -/*! - \class QXmlSimpleReader - \obsolete - \nonreentrant - \brief The QXmlSimpleReader class provides an implementation of a - simple XML parser. - - \inmodule QtXml - \ingroup xml-tools - - - This XML reader is suitable for a wide range of applications. It - is able to parse well-formed XML and can report the namespaces of - elements to a content handler; however, it does not parse any - external entities. For historical reasons, Attribute Value - Normalization and End-of-Line Handling as described in the XML 1.0 - specification is not performed. - - The easiest pattern of use for this class is to create a reader - instance, define an input source, specify the handlers to be used - by the reader, and parse the data. - - For example, we could use a QFile to supply the input. Here, we - create a reader, and define an input source to be used by the - reader: - - \snippet simpleparse/main.cpp 0 - - A handler lets us perform actions when the reader encounters - certain types of content, or if errors in the input are found. The - reader must be told which handler to use for each type of - event. For many common applications, we can create a custom - handler by subclassing QXmlDefaultHandler, and use this to handle - both error and content events: - - \snippet simpleparse/main.cpp 1 - - If you don't set at least the content and error handlers, the - parser will fall back on its default behavior---and will do - nothing. - - The most convenient way to handle the input is to read it in a - single pass using the parse() function with an argument that - specifies the input source: - - \snippet simpleparse/main.cpp 2 - - If you can't parse the entire input in one go (for example, it is - huge, or is being delivered over a network connection), data can - be fed to the parser in pieces. This is achieved by telling - parse() to work incrementally, and making subsequent calls to the - parseContinue() function, until all the data has been processed. - - A common way to perform incremental parsing is to connect the \c - readyRead() signal of a \l{QNetworkReply} {network reply} a slot, - and handle the incoming data there. See QNetworkAccessManager. - - Aspects of the parsing behavior can be adapted using setFeature() - and setProperty(). - - \snippet code/src_xml_sax_qxml.cpp 0 - - QXmlSimpleReader is not reentrant. If you want to use the class - in threaded code, lock the code using QXmlSimpleReader with a - locking mechanism, such as a QMutex. - - Note that this class is now deprecated, please use QXmlStreamReader or - QDomDocument for reading XML files. -*/ - -static inline bool is_S(QChar ch) -{ - ushort uc = ch.unicode(); - return (uc == ' ' || uc == '\t' || uc == '\n' || uc == '\r'); -} - -enum NameChar { NameBeginning, NameNotBeginning, NotName }; - -static const char Begi = (char)NameBeginning; -static const char NtBg = (char)NameNotBeginning; -static const char NotN = (char)NotName; - -static const char nameCharTable[128] = -{ -// 0x00 - NotN, NotN, NotN, NotN, NotN, NotN, NotN, NotN, - NotN, NotN, NotN, NotN, NotN, NotN, NotN, NotN, -// 0x10 - NotN, NotN, NotN, NotN, NotN, NotN, NotN, NotN, - NotN, NotN, NotN, NotN, NotN, NotN, NotN, NotN, -// 0x20 (0x2D is '-', 0x2E is '.') - NotN, NotN, NotN, NotN, NotN, NotN, NotN, NotN, - NotN, NotN, NotN, NotN, NotN, NtBg, NtBg, NotN, -// 0x30 (0x30..0x39 are '0'..'9', 0x3A is ':') - NtBg, NtBg, NtBg, NtBg, NtBg, NtBg, NtBg, NtBg, - NtBg, NtBg, Begi, NotN, NotN, NotN, NotN, NotN, -// 0x40 (0x41..0x5A are 'A'..'Z') - NotN, Begi, Begi, Begi, Begi, Begi, Begi, Begi, - Begi, Begi, Begi, Begi, Begi, Begi, Begi, Begi, -// 0x50 (0x5F is '_') - Begi, Begi, Begi, Begi, Begi, Begi, Begi, Begi, - Begi, Begi, Begi, NotN, NotN, NotN, NotN, Begi, -// 0x60 (0x61..0x7A are 'a'..'z') - NotN, Begi, Begi, Begi, Begi, Begi, Begi, Begi, - Begi, Begi, Begi, Begi, Begi, Begi, Begi, Begi, -// 0x70 - Begi, Begi, Begi, Begi, Begi, Begi, Begi, Begi, - Begi, Begi, Begi, NotN, NotN, NotN, NotN, NotN -}; - -static inline NameChar fastDetermineNameChar(QChar ch) -{ - ushort uc = ch.unicode(); - if (!(uc & ~0x7f)) // uc < 128 - return (NameChar)nameCharTable[uc]; - - QChar::Category cat = ch.category(); - // ### some these categories might be slightly wrong - if ((cat >= QChar::Letter_Uppercase && cat <= QChar::Letter_Other) - || cat == QChar::Number_Letter) - return NameBeginning; - if ((cat >= QChar::Number_DecimalDigit && cat <= QChar::Number_Other) - || (cat >= QChar::Mark_NonSpacing && cat <= QChar::Mark_Enclosing)) - return NameNotBeginning; - return NotName; -} - -static NameChar determineNameChar(QChar ch) -{ - return fastDetermineNameChar(ch); -} - -/*! - Constructs a simple XML reader. - -*/ -QXmlSimpleReader::QXmlSimpleReader() - : d_ptr(new QXmlSimpleReaderPrivate(this)) -{ -} - -/*! - Destroys the simple XML reader. -*/ -QXmlSimpleReader::~QXmlSimpleReader() -{ -} - -/*! - \reimp -*/ -bool QXmlSimpleReader::feature(const QString& name, bool *ok) const -{ - const QXmlSimpleReaderPrivate *d = d_func(); - - if (ok) - *ok = true; - if (name == QLatin1String("http://xml.org/sax/features/namespaces")) { - return d->useNamespaces; - } else if (name == QLatin1String("http://xml.org/sax/features/namespace-prefixes")) { - return d->useNamespacePrefixes; - } else if (name == QLatin1String("http://trolltech.com/xml/features/report-whitespace-only-CharData") // For compat with Qt 4 - || name == QLatin1String("http://qt-project.org/xml/features/report-whitespace-only-CharData")) { - return d->reportWhitespaceCharData; - } else if (name == QLatin1String("http://trolltech.com/xml/features/report-start-end-entity") // For compat with Qt 4 - || name == QLatin1String("http://qt-project.org/xml/features/report-start-end-entity")) { - return d->reportEntities; - } else { - qWarning("Unknown feature %s", name.toLatin1().data()); - if (ok) - *ok = false; - } - return false; -} - -/*! - Turns on the feature \a name if \a enable is true; otherwise turns it off. - - The \a name parameter must be one of the following strings: - \table - \header \li Feature \li Default \li Notes - \row \li \e http://xml.org/sax/features/namespaces - \li true - \li If enabled, namespaces are reported to the content handler. - \row \li \e http://xml.org/sax/features/namespace-prefixes - \li false - \li If enabled, the original prefixed names - and attributes used for namespace declarations are - reported. - \row \li \e http://qt-project.org/xml/features/report-whitespace-only-CharData - \li true - \li If enabled, CharData that consist of - only whitespace characters are reported - using QXmlContentHandler::characters(). If disabled, whitespace is silently - discarded. - \row \li \e http://qt-project.org/xml/features/report-start-end-entity - \li false - \li If enabled, the parser reports - QXmlContentHandler::startEntity() and - QXmlContentHandler::endEntity() events, so character data - might be reported in chunks. - If disabled, the parser does not report these events, but - silently substitutes the entities, and reports the character - data in one chunk. - \endtable - - \sa feature(), hasFeature() -*/ -void QXmlSimpleReader::setFeature(const QString& name, bool enable) -{ - Q_D(QXmlSimpleReader); - if (name == QLatin1String("http://xml.org/sax/features/namespaces")) { - d->useNamespaces = enable; - } else if (name == QLatin1String("http://xml.org/sax/features/namespace-prefixes")) { - d->useNamespacePrefixes = enable; - } else if (name == QLatin1String("http://trolltech.com/xml/features/report-whitespace-only-CharData") // For compat with Qt 4 - || name == QLatin1String("http://qt-project.org/xml/features/report-whitespace-only-CharData")) { - d->reportWhitespaceCharData = enable; - } else if (name == QLatin1String("http://trolltech.com/xml/features/report-start-end-entity") // For compat with Qt 4 - || name == QLatin1String("http://qt-project.org/xml/features/report-start-end-entity")) { - d->reportEntities = enable; - } else { - qWarning("Unknown feature %s", name.toLatin1().data()); - } -} - -/*! \reimp -*/ -bool QXmlSimpleReader::hasFeature(const QString& name) const -{ - if (name == QLatin1String("http://xml.org/sax/features/namespaces") - || name == QLatin1String("http://xml.org/sax/features/namespace-prefixes") - || name == QLatin1String("http://trolltech.com/xml/features/report-whitespace-only-CharData") // For compat with Qt 4 - || name == QLatin1String("http://qt-project.org/xml/features/report-whitespace-only-CharData") - || name == QLatin1String("http://trolltech.com/xml/features/report-start-end-entity") // For compat with Qt 4 - || name == QLatin1String("http://qt-project.org/xml/features/report-start-end-entity")) { - return true; - } else { - return false; - } -} - -/*! \reimp -*/ -void* QXmlSimpleReader::property(const QString&, bool *ok) const -{ - if (ok) - *ok = false; - return nullptr; -} - -/*! \reimp -*/ -void QXmlSimpleReader::setProperty(const QString&, void*) -{ -} - -/*! - \reimp -*/ -bool QXmlSimpleReader::hasProperty(const QString&) const -{ - return false; -} - -/*! - \reimp -*/ -void QXmlSimpleReader::setEntityResolver(QXmlEntityResolver* handler) -{ - Q_D(QXmlSimpleReader); - d->entityRes = handler; -} - -/*! - \reimp -*/ -QXmlEntityResolver* QXmlSimpleReader::entityResolver() const -{ - const QXmlSimpleReaderPrivate *d = d_func(); - return d->entityRes; -} - -/*! - \reimp -*/ -void QXmlSimpleReader::setDTDHandler(QXmlDTDHandler* handler) -{ - Q_D(QXmlSimpleReader); - d->dtdHnd = handler; -} - -/*! - \reimp -*/ -QXmlDTDHandler* QXmlSimpleReader::DTDHandler() const -{ - const QXmlSimpleReaderPrivate *d = d_func(); - return d->dtdHnd; -} - -/*! - \reimp -*/ -void QXmlSimpleReader::setContentHandler(QXmlContentHandler* handler) -{ - Q_D(QXmlSimpleReader); - d->contentHnd = handler; -} - -/*! - \reimp -*/ -QXmlContentHandler* QXmlSimpleReader::contentHandler() const -{ - const QXmlSimpleReaderPrivate *d = d_func(); - return d->contentHnd; -} - -/*! - \reimp -*/ -void QXmlSimpleReader::setErrorHandler(QXmlErrorHandler* handler) -{ - Q_D(QXmlSimpleReader); - d->errorHnd = handler; -} - -/*! - \reimp -*/ -QXmlErrorHandler* QXmlSimpleReader::errorHandler() const -{ - const QXmlSimpleReaderPrivate *d = d_func(); - return d->errorHnd; -} - -/*! - \reimp -*/ -void QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler* handler) -{ - Q_D(QXmlSimpleReader); - d->lexicalHnd = handler; -} - -/*! - \reimp -*/ -QXmlLexicalHandler* QXmlSimpleReader::lexicalHandler() const -{ - const QXmlSimpleReaderPrivate *d = d_func(); - return d->lexicalHnd; -} - -/*! - \reimp -*/ -void QXmlSimpleReader::setDeclHandler(QXmlDeclHandler* handler) -{ - Q_D(QXmlSimpleReader); - d->declHnd = handler; -} - -/*! - \reimp -*/ -QXmlDeclHandler* QXmlSimpleReader::declHandler() const -{ - const QXmlSimpleReaderPrivate *d = d_func(); - return d->declHnd; -} - - - -/*! - \reimp -*/ -bool QXmlSimpleReader::parse(const QXmlInputSource& input) -{ - return parse(&input, false); -} - -/*! - Reads an XML document from \a input and parses it in one pass (non-incrementally). - Returns \c true if the parsing was successful; otherwise returns \c false. -*/ -bool QXmlSimpleReader::parse(const QXmlInputSource* input) -{ - return parse(input, false); -} - -/*! - Reads an XML document from \a input and parses it. Returns \c true - if the parsing is completed successfully; otherwise returns \c false, - indicating that an error occurred. - - If \a incremental is false, this function will return false if the XML - file is not read completely. The parsing cannot be continued in this - case. - - If \a incremental is true, the parser does not return false if - it reaches the end of the \a input before reaching the end - of the XML file. Instead, it stores the state of the parser so that - parsing can be continued later when more data is available. - In such a case, you can use the function parseContinue() to - continue with parsing. This class stores a pointer to the input - source \a input and the parseContinue() function tries to read from - that input source. Therefore, you should not delete the input - source \a input until you no longer need to call parseContinue(). - - If this function is called with \a incremental set to true - while an incremental parse is in progress, a new parsing - session will be started, and the previous session will be lost. - - \sa parseContinue(), QTcpSocket -*/ -bool QXmlSimpleReader::parse(const QXmlInputSource *input, bool incremental) -{ - Q_D(QXmlSimpleReader); - - d->literalEntitySizes.clear(); - d->referencesToOtherEntities.clear(); - d->expandedSizes.clear(); - - if (incremental) { - d->initIncrementalParsing(); - } else { - delete d->parseStack; - d->parseStack = nullptr; - } - d->init(input); - - // call the handler - if (d->contentHnd) { - d->contentHnd->setDocumentLocator(d->locator.data()); - if (!d->contentHnd->startDocument()) { - d->reportParseError(d->contentHnd->errorString()); - clear(d->tags); - return false; - } - } - d->skipped_entity_in_content = false; - return d->parseBeginOrContinue(0, incremental); -} - -/*! - Continues incremental parsing, taking input from the - QXmlInputSource that was specified with the most recent - call to parse(). To use this function, you \e must have called - parse() with the incremental argument set to true. - - Returns \c false if a parsing error occurs; otherwise returns \c true, - even if the end of the XML file has not been reached. You can - continue parsing at a later stage by calling this function again - when there is more data available to parse. - - Calling this function when there is no data available in the input - source indicates to the reader that the end of the XML file has - been reached. If the input supplied up to this point was - not well-formed then a parsing error occurs, and false is returned. - If the input supplied was well-formed, true is returned. - It is important to end the input in this way because it allows you - to reuse the reader to parse other XML files. - - Calling this function after the end of file has been reached, but - without available data will cause false to be returned whether the - previous input was well-formed or not. - - \sa parse(), QXmlInputSource::data(), QXmlInputSource::next() -*/ -bool QXmlSimpleReader::parseContinue() -{ - Q_D(QXmlSimpleReader); - if (d->parseStack == nullptr || d->parseStack->isEmpty()) - return false; - d->initData(); - int state = d->parseStack->pop().state; - return d->parseBeginOrContinue(state, true); -} - -/* - Common part of parse() and parseContinue() -*/ -bool QXmlSimpleReaderPrivate::parseBeginOrContinue(int state, bool incremental) -{ - bool atEndOrig = atEnd(); - - if (state==0) { - if (!parseProlog()) { - if (incremental && error.isNull()) { - pushParseState(nullptr, 0); - return true; - } else { - clear(tags); - return false; - } - } - state = 1; - } - if (state==1) { - if (!parseElement()) { - if (incremental && error.isNull()) { - pushParseState(nullptr, 1); - return true; - } else { - clear(tags); - return false; - } - } - state = 2; - } - // parse Misc* - while (!atEnd()) { - if (!parseMisc()) { - if (incremental && error.isNull()) { - pushParseState(nullptr, 2); - return true; - } else { - clear(tags); - return false; - } - } - } - if (!atEndOrig && incremental) { - // we parsed something at all, so be prepared to come back later - pushParseState(nullptr, 2); - return true; - } - // is stack empty? - if (!tags.empty() && !error.isNull()) { - reportParseError(QLatin1String(XMLERR_UNEXPECTEDEOF)); - clear(tags); - return false; - } - // call the handler - if (contentHnd) { - delete parseStack; - parseStack = nullptr; - if (!contentHnd->endDocument()) { - reportParseError(contentHnd->errorString()); - return false; - } - } - return true; -} - -// -// The following private parse functions have another semantics for the return -// value: They return true iff parsing has finished successfully (i.e. the end -// of the XML file must be reached!). If one of these functions return false, -// there is only an error when d->error.isNULL() is also false. -// - -/* - For the incremental parsing, it is very important that the parse...() - functions have a certain structure. Since it might be hard to understand how - they work, here is a description of the layout of these functions: - - bool QXmlSimpleReader::parse...() - { -(1) const signed char Init = 0; - ... - -(2) const signed char Inp... = 0; - ... - -(3) static const signed char table[3][2] = { - ... - }; - signed char state; - signed char input; - -(4) if (d->parseStack == nullptr || d->parseStack->isEmpty()) { -(4a) ... - } else { -(4b) ... - } - - for (; ;) { -(5) switch (state) { - ... - } - -(6) -(6a) if (atEnd()) { - unexpectedEof(&QXmlSimpleReader::parseNmtoken, state); - return false; - } -(6b) if (determineNameChar(c) != NotName) { - ... - } -(7) state = table[state][input]; - -(8) switch (state) { - ... - } - } - } - - Explanation: - ad 1: constants for the states (used in the transition table) - ad 2: constants for the input (used in the transition table) - ad 3: the transition table for the state machine - ad 4: test if we are in a parseContinue() step - a) if no, do inititalizations - b) if yes, restore the state and call parse functions recursively - ad 5: Do some actions according to the state; from the logical execution - order, this code belongs after 8 (see there for an explanation) - ad 6: Check the character that is at the actual "cursor" position: - a) If we reached the EOF, report either error or push the state (in the - case of incremental parsing). - b) Otherwise, set the input character constant for the transition - table. - ad 7: Get the new state according to the input that was read. - ad 8: Do some actions according to the state. The last line in every case - statement reads new data (i.e. it move the cursor). This can also be - done by calling another parse...() function. If you need processing for - this state after that, you have to put it into the switch statement 5. - This ensures that you have a well defined re-entry point, when you ran - out of data. -*/ - -/* - Parses the prolog [22]. -*/ - -bool QXmlSimpleReaderPrivate::parseProlog() -{ - const signed char Init = 0; - const signed char EatWS = 1; // eat white spaces - const signed char Lt = 2; // '<' read - const signed char Em = 3; // '!' read - const signed char DocType = 4; // read doctype - const signed char Comment = 5; // read comment - const signed char CommentR = 6; // same as Comment, but already reported - const signed char PInstr = 7; // read PI - const signed char PInstrR = 8; // same as PInstr, but already reported - const signed char Done = 9; - - const signed char InpWs = 0; - const signed char InpLt = 1; // < - const signed char InpQm = 2; // ? - const signed char InpEm = 3; // ! - const signed char InpD = 4; // D - const signed char InpDash = 5; // - - const signed char InpUnknown = 6; - - static const signed char table[9][7] = { - /* InpWs InpLt InpQm InpEm InpD InpDash InpUnknown */ - { EatWS, Lt, -1, -1, -1, -1, -1 }, // Init - { -1, Lt, -1, -1, -1, -1, -1 }, // EatWS - { -1, -1, PInstr,Em, Done, -1, Done }, // Lt - { -1, -1, -1, -1, DocType, Comment, -1 }, // Em - { EatWS, Lt, -1, -1, -1, -1, -1 }, // DocType - { EatWS, Lt, -1, -1, -1, -1, -1 }, // Comment - { EatWS, Lt, -1, -1, -1, -1, -1 }, // CommentR - { EatWS, Lt, -1, -1, -1, -1, -1 }, // PInstr - { EatWS, Lt, -1, -1, -1, -1, -1 } // PInstrR - }; - signed char state; - signed char input; - - if (parseStack == nullptr|| parseStack->isEmpty()) { - xmldecl_possible = true; - doctype_read = false; - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseProlog (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseProlog, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case DocType: - if (doctype_read) { - reportParseError(QLatin1String(XMLERR_MORETHANONEDOCTYPE)); - return false; - } else { - doctype_read = false; - } - break; - case Comment: - if (lexicalHnd) { - if (!lexicalHnd->comment(string())) { - reportParseError(lexicalHnd->errorString()); - return false; - } - } - state = CommentR; - break; - case PInstr: - // call the handler - if (contentHnd) { - if (xmldecl_possible && !xmlVersion.isEmpty()) { - QString value(QLatin1String("version='")); - value += xmlVersion; - value += QLatin1Char('\''); - if (!encoding.isEmpty()) { - value += QLatin1String(" encoding='"); - value += encoding; - value += QLatin1Char('\''); - } - if (standalone == QXmlSimpleReaderPrivate::Yes) { - value += QLatin1String(" standalone='yes'"); - } else if (standalone == QXmlSimpleReaderPrivate::No) { - value += QLatin1String(" standalone='no'"); - } - if (!contentHnd->processingInstruction(QLatin1String("xml"), value)) { - reportParseError(contentHnd->errorString()); - return false; - } - } else { - if (!contentHnd->processingInstruction(name(), string())) { - reportParseError(contentHnd->errorString()); - return false; - } - } - } - // XML declaration only on first position possible - xmldecl_possible = false; - state = PInstrR; - break; - case Done: - return true; - case -1: - reportParseError(QLatin1String(XMLERR_ERRORPARSINGELEMENT)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseProlog, state); - return false; - } - if (is_S(c)) { - input = InpWs; - } else if (c == QLatin1Char('<')) { - input = InpLt; - } else if (c == QLatin1Char('?')) { - input = InpQm; - } else if (c == QLatin1Char('!')) { - input = InpEm; - } else if (c == QLatin1Char('D')) { - input = InpD; - } else if (c == QLatin1Char('-')) { - input = InpDash; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case EatWS: - // XML declaration only on first position possible - xmldecl_possible = false; - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseProlog, state); - return false; - } - break; - case Lt: - next(); - break; - case Em: - // XML declaration only on first position possible - xmldecl_possible = false; - next(); - break; - case DocType: - if (!parseDoctype()) { - parseFailed(&QXmlSimpleReaderPrivate::parseProlog, state); - return false; - } - break; - case Comment: - case CommentR: - if (!parseComment()) { - parseFailed(&QXmlSimpleReaderPrivate::parseProlog, state); - return false; - } - break; - case PInstr: - case PInstrR: - parsePI_xmldecl = xmldecl_possible; - if (!parsePI()) { - parseFailed(&QXmlSimpleReaderPrivate::parseProlog, state); - return false; - } - break; - } - } - return false; -} - -/* - Parse an element [39]. - - Precondition: the opening '<' is already read. -*/ -bool QXmlSimpleReaderPrivate::parseElement() -{ - const int Init = 0; - const int ReadName = 1; - const int Ws1 = 2; - const int STagEnd = 3; - const int STagEnd2 = 4; - const int ETagBegin = 5; - const int ETagBegin2 = 6; - const int Ws2 = 7; - const int EmptyTag = 8; - const int Attrib = 9; - const int AttribPro = 10; // like Attrib, but processAttribute was already called - const int Ws3 = 11; - const int Done = 12; - - const int InpWs = 0; // whitespace - const int InpNameBe = 1; // NameBeginning - const int InpGt = 2; // > - const int InpSlash = 3; // / - const int InpUnknown = 4; - - static const int table[12][5] = { - /* InpWs InpNameBe InpGt InpSlash InpUnknown */ - { -1, ReadName, -1, -1, -1 }, // Init - { Ws1, Attrib, STagEnd, EmptyTag, -1 }, // ReadName - { -1, Attrib, STagEnd, EmptyTag, -1 }, // Ws1 - { STagEnd2, STagEnd2, STagEnd2, STagEnd2, STagEnd2 }, // STagEnd - { -1, -1, -1, ETagBegin, -1 }, // STagEnd2 - { -1, ETagBegin2, -1, -1, -1 }, // ETagBegin - { Ws2, -1, Done, -1, -1 }, // ETagBegin2 - { -1, -1, Done, -1, -1 }, // Ws2 - { -1, -1, Done, -1, -1 }, // EmptyTag - { Ws3, Attrib, STagEnd, EmptyTag, -1 }, // Attrib - { Ws3, Attrib, STagEnd, EmptyTag, -1 }, // AttribPro - { -1, Attrib, STagEnd, EmptyTag, -1 } // Ws3 - }; - int state; - int input; - - if (parseStack == nullptr|| parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseElement (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElement, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case ReadName: - // store it on the stack - tags.push(name()); - // empty the attributes - attList.clear(); - if (useNamespaces) - namespaceSupport.pushContext(); - break; - case ETagBegin2: - if (!processElementETagBegin2()) - return false; - break; - case Attrib: - if (!processElementAttribute()) - return false; - state = AttribPro; - break; - case Done: - return true; - case -1: - reportParseError(QLatin1String(XMLERR_ERRORPARSINGELEMENT)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseElement, state); - return false; - } - if (fastDetermineNameChar(c) == NameBeginning) { - input = InpNameBe; - } else if (c == QLatin1Char('>')) { - input = InpGt; - } else if (is_S(c)) { - input = InpWs; - } else if (c == QLatin1Char('/')) { - input = InpSlash; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case ReadName: - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElement, state); - return false; - } - break; - case Ws1: - case Ws2: - case Ws3: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElement, state); - return false; - } - break; - case STagEnd: - // call the handler - if (contentHnd) { - if (useNamespaces) { - QString uri, lname; - namespaceSupport.processName(tags.top(), false, uri, lname); - if (!contentHnd->startElement(uri, lname, tags.top(), attList)) { - reportParseError(contentHnd->errorString()); - return false; - } - } else { - if (!contentHnd->startElement(QString(), QString(), tags.top(), attList)) { - reportParseError(contentHnd->errorString()); - return false; - } - } - } - next(); - break; - case STagEnd2: - if (!parseContent()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElement, state); - return false; - } - break; - case ETagBegin: - next(); - break; - case ETagBegin2: - // get the name of the tag - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElement, state); - return false; - } - break; - case EmptyTag: - if (tags.empty()) { - reportParseError(QLatin1String(XMLERR_TAGMISMATCH)); - return false; - } - if (!processElementEmptyTag()) - return false; - next(); - break; - case Attrib: - case AttribPro: - // get name and value of attribute - if (!parseAttribute()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElement, state); - return false; - } - break; - case Done: - next(); - break; - } - } - return false; -} - -/* - Helper to break down the size of the code in the case statement. - Return false on error, otherwise true. -*/ -bool QXmlSimpleReaderPrivate::processElementEmptyTag() -{ - QString uri, lname; - // pop the stack and call the handler - if (contentHnd) { - if (useNamespaces) { - // report startElement first... - namespaceSupport.processName(tags.top(), false, uri, lname); - if (!contentHnd->startElement(uri, lname, tags.top(), attList)) { - reportParseError(contentHnd->errorString()); - return false; - } - // ... followed by endElement... - const bool endElementReturnedFalse = !contentHnd->endElement(uri, lname, tags.top()); - tags.pop(); - if (endElementReturnedFalse) { - reportParseError(contentHnd->errorString()); - return false; - } - // ... followed by endPrefixMapping - QStringList prefixesBefore, prefixesAfter; - if (contentHnd) { - prefixesBefore = namespaceSupport.prefixes(); - } - namespaceSupport.popContext(); - // call the handler for prefix mapping - prefixesAfter = namespaceSupport.prefixes(); - for (QStringList::Iterator it = prefixesBefore.begin(); it != prefixesBefore.end(); ++it) { - if (!prefixesAfter.contains(*it)) { - if (!contentHnd->endPrefixMapping(*it)) { - reportParseError(contentHnd->errorString()); - return false; - } - } - } - } else { - // report startElement first... - if (!contentHnd->startElement(QString(), QString(), tags.top(), attList)) { - reportParseError(contentHnd->errorString()); - return false; - } - // ... followed by endElement - const bool endElementReturnedFalse = !contentHnd->endElement(QString(), QString(), tags.top()); - tags.pop(); - if (endElementReturnedFalse) { - reportParseError(contentHnd->errorString()); - return false; - } - } - } else { - tags.pop(); - namespaceSupport.popContext(); - } - return true; -} -/* - Helper to break down the size of the code in the case statement. - Return false on error, otherwise true. -*/ -bool QXmlSimpleReaderPrivate::processElementETagBegin2() -{ - const QString &name = QXmlSimpleReaderPrivate::name(); - - // pop the stack and compare it with the name - const bool nameIsTagsTop = tags.top() == name; - tags.pop(); - if (!nameIsTagsTop) { - reportParseError(QLatin1String(XMLERR_TAGMISMATCH)); - return false; - } - // call the handler - if (contentHnd) { - QString uri, lname; - - if (useNamespaces) - namespaceSupport.processName(name, false, uri, lname); - if (!contentHnd->endElement(uri, lname, name)) { - reportParseError(contentHnd->errorString()); - return false; - } - } - if (useNamespaces) { - NamespaceMap prefixesBefore, prefixesAfter; - if (contentHnd) - prefixesBefore = namespaceSupport.d->ns; - - namespaceSupport.popContext(); - // call the handler for prefix mapping - if (contentHnd) { - prefixesAfter = namespaceSupport.d->ns; - if (prefixesBefore.size() != prefixesAfter.size()) { - for (NamespaceMap::const_iterator it = prefixesBefore.constBegin(); it != prefixesBefore.constEnd(); ++it) { - if (!it.key().isEmpty() && !prefixesAfter.contains(it.key())) { - if (!contentHnd->endPrefixMapping(it.key())) { - reportParseError(contentHnd->errorString()); - return false; - } - } - } - } - } - } - return true; -} -/* - Helper to break down the size of the code in the case statement. - Return false on error, otherwise true. -*/ -bool QXmlSimpleReaderPrivate::processElementAttribute() -{ - QString uri, lname, prefix; - const QString &name = QXmlSimpleReaderPrivate::name(); - const QString &string = QXmlSimpleReaderPrivate::string(); - - // add the attribute to the list - if (useNamespaces) { - // is it a namespace declaration? - namespaceSupport.splitName(name, prefix, lname); - if (prefix == QLatin1String("xmlns")) { - // namespace declaration - namespaceSupport.setPrefix(lname, string); - if (useNamespacePrefixes) { - // according to http://www.w3.org/2000/xmlns/, the "prefix" - // xmlns maps to the namespace name - // http://www.w3.org/2000/xmlns/ - attList.append(name, QLatin1String("http://www.w3.org/2000/xmlns/"), lname, string); - } - // call the handler for prefix mapping - if (contentHnd) { - if (!contentHnd->startPrefixMapping(lname, string)) { - reportParseError(contentHnd->errorString()); - return false; - } - } - } else { - // no namespace delcaration - namespaceSupport.processName(name, true, uri, lname); - attList.append(name, uri, lname, string); - } - } else { - // no namespace support - attList.append(name, uri, lname, string); - } - return true; -} - -/* - Parse a content [43]. - - A content is only used between tags. If a end tag is found the < is already - read and the head stand on the '/' of the end tag ''. -*/ -bool QXmlSimpleReaderPrivate::parseContent() -{ - const signed char Init = 0; - const signed char ChD = 1; // CharData - const signed char ChD1 = 2; // CharData help state - const signed char ChD2 = 3; // CharData help state - const signed char Ref = 4; // Reference - const signed char Lt = 5; // '<' read - const signed char PInstr = 6; // PI - const signed char PInstrR = 7; // same as PInstr, but already reported - const signed char Elem = 8; // Element - const signed char Em = 9; // '!' read - const signed char Com = 10; // Comment - const signed char ComR = 11; // same as Com, but already reported - const signed char CDS = 12; // CDSect - const signed char CDS1 = 13; // read a CDSect - const signed char CDS2 = 14; // read a CDSect (help state) - const signed char CDS3 = 15; // read a CDSect (help state) - const signed char Done = 16; // finished reading content - - const signed char InpLt = 0; // < - const signed char InpGt = 1; // > - const signed char InpSlash = 2; // / - const signed char InpQMark = 3; // ? - const signed char InpEMark = 4; // ! - const signed char InpAmp = 5; // & - const signed char InpDash = 6; // - - const signed char InpOpenB = 7; // [ - const signed char InpCloseB = 8; //] - const signed char InpUnknown = 9; - - static const signed char mapCLT2FSMChar[] = { - InpUnknown, // white space - InpUnknown, // % - InpAmp, // & - InpGt, // > - InpLt, // < - InpSlash, // / - InpQMark, // ? - InpEMark, // ! - InpDash, // - - InpCloseB, //] - InpOpenB, // [ - InpUnknown, // = - InpUnknown, // " - InpUnknown, // ' - InpUnknown // unknown - }; - - static const signed char table[16][10] = { - /* InpLt InpGt InpSlash InpQMark InpEMark InpAmp InpDash InpOpenB InpCloseB InpUnknown */ - { Lt, ChD, ChD, ChD, ChD, Ref, ChD, ChD, ChD1, ChD }, // Init - { Lt, ChD, ChD, ChD, ChD, Ref, ChD, ChD, ChD1, ChD }, // ChD - { Lt, ChD, ChD, ChD, ChD, Ref, ChD, ChD, ChD2, ChD }, // ChD1 - { Lt, -1, ChD, ChD, ChD, Ref, ChD, ChD, ChD2, ChD }, // ChD2 - { Lt, ChD, ChD, ChD, ChD, Ref, ChD, ChD, ChD, ChD }, // Ref (same as Init) - { -1, -1, Done, PInstr, Em, -1, -1, -1, -1, Elem }, // Lt - { Lt, ChD, ChD, ChD, ChD, Ref, ChD, ChD, ChD, ChD }, // PInstr (same as Init) - { Lt, ChD, ChD, ChD, ChD, Ref, ChD, ChD, ChD, ChD }, // PInstrR - { Lt, ChD, ChD, ChD, ChD, Ref, ChD, ChD, ChD, ChD }, // Elem (same as Init) - { -1, -1, -1, -1, -1, -1, Com, CDS, -1, -1 }, // Em - { Lt, ChD, ChD, ChD, ChD, Ref, ChD, ChD, ChD, ChD }, // Com (same as Init) - { Lt, ChD, ChD, ChD, ChD, Ref, ChD, ChD, ChD, ChD }, // ComR - { CDS1, CDS1, CDS1, CDS1, CDS1, CDS1, CDS1, CDS1, CDS2, CDS1 }, // CDS - { CDS1, CDS1, CDS1, CDS1, CDS1, CDS1, CDS1, CDS1, CDS2, CDS1 }, // CDS1 - { CDS1, CDS1, CDS1, CDS1, CDS1, CDS1, CDS1, CDS1, CDS3, CDS1 }, // CDS2 - { CDS1, Init, CDS1, CDS1, CDS1, CDS1, CDS1, CDS1, CDS3, CDS1 } // CDS3 - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - contentCharDataRead = false; - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseContent (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseContent, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Ref: - if (!contentCharDataRead) - contentCharDataRead = parseReference_charDataRead; - break; - case PInstr: - if (contentHnd) { - if (!contentHnd->processingInstruction(name(),string())) { - reportParseError(contentHnd->errorString()); - return false; - } - } - state = PInstrR; - break; - case Com: - if (lexicalHnd) { - if (!lexicalHnd->comment(string())) { - reportParseError(lexicalHnd->errorString()); - return false; - } - } - state = ComR; - break; - case CDS: - stringClear(); - break; - case CDS2: - if (!atEnd() && c != QLatin1Char(']')) - stringAddC(QLatin1Char(']')); - break; - case CDS3: - // test if this skipping was legal - if (!atEnd()) { - if (c == QLatin1Char('>')) { - // the end of the CDSect - if (lexicalHnd) { - if (!lexicalHnd->startCDATA()) { - reportParseError(lexicalHnd->errorString()); - return false; - } - } - if (contentHnd) { - if (!contentHnd->characters(string())) { - reportParseError(contentHnd->errorString()); - return false; - } - } - if (lexicalHnd) { - if (!lexicalHnd->endCDATA()) { - reportParseError(lexicalHnd->errorString()); - return false; - } - } - } else if (c == QLatin1Char(']')) { - // three or more ']' - stringAddC(QLatin1Char(']')); - } else { - // after ']]' comes another character - stringAddC(QLatin1Char(']')); - stringAddC(QLatin1Char(']')); - } - } - break; - case Done: - // call the handler for CharData - if (contentHnd) { - if (contentCharDataRead) { - if (reportWhitespaceCharData || !string().simplified().isEmpty()) { - if (!contentHnd->characters(string())) { - reportParseError(contentHnd->errorString()); - return false; - } - } - } - } - // Done - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_ERRORPARSINGCONTENT)); - return false; - } - - // get input (use lookup-table instead of nested ifs for performance - // reasons) - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseContent, state); - return false; - } - if (c.row()) { - input = InpUnknown; - } else { - input = mapCLT2FSMChar[charLookupTable[c.cell()]]; - } - state = table[state][input]; - - switch (state) { - case Init: - // skip the ending '>' of a CDATASection - next(); - break; - case ChD: - // on first call: clear string - if (!contentCharDataRead) { - contentCharDataRead = true; - stringClear(); - } - stringAddC(); - if (reportEntities) { - if (!reportEndEntities()) - return false; - } - next(); - break; - case ChD1: - // on first call: clear string - if (!contentCharDataRead) { - contentCharDataRead = true; - stringClear(); - } - stringAddC(); - if (reportEntities) { - if (!reportEndEntities()) - return false; - } - next(); - break; - case ChD2: - stringAddC(); - if (reportEntities) { - if (!reportEndEntities()) - return false; - } - next(); - break; - case Ref: - if (!contentCharDataRead) { - // reference may be CharData; so clear string to be safe - stringClear(); - parseReference_context = InContent; - if (!parseReference()) { - parseFailed(&QXmlSimpleReaderPrivate::parseContent, state); - return false; - } - } else { - if (reportEntities) { - // report character data in chunks - if (contentHnd) { - if (reportWhitespaceCharData || !string().simplified().isEmpty()) { - if (!contentHnd->characters(string())) { - reportParseError(contentHnd->errorString()); - return false; - } - } - } - stringClear(); - } - parseReference_context = InContent; - if (!parseReference()) { - parseFailed(&QXmlSimpleReaderPrivate::parseContent, state); - return false; - } - } - break; - case Lt: - // call the handler for CharData - if (contentHnd) { - if (contentCharDataRead) { - if (reportWhitespaceCharData || !string().simplified().isEmpty()) { - if (!contentHnd->characters(string())) { - reportParseError(contentHnd->errorString()); - return false; - } - } - } - } - contentCharDataRead = false; - next(); - break; - case PInstr: - case PInstrR: - parsePI_xmldecl = false; - if (!parsePI()) { - parseFailed(&QXmlSimpleReaderPrivate::parseContent, state); - return false; - } - break; - case Elem: - if (!parseElement()) { - parseFailed(&QXmlSimpleReaderPrivate::parseContent, state); - return false; - } - break; - case Em: - next(); - break; - case Com: - case ComR: - if (!parseComment()) { - parseFailed(&QXmlSimpleReaderPrivate::parseContent, state); - return false; - } - break; - case CDS: - parseString_s = QLatin1String("[CDATA["); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseContent, state); - return false; - } - break; - case CDS1: - stringAddC(); - next(); - break; - case CDS2: - // skip ']' - next(); - break; - case CDS3: - // skip ']'... - next(); - break; - } - } - return false; -} - -bool QXmlSimpleReaderPrivate::reportEndEntities() -{ - int count = (int)xmlRefStack.count(); - while (count != 0 && xmlRefStack.top().isEmpty()) { - if (contentHnd) { - if (reportWhitespaceCharData || !string().simplified().isEmpty()) { - if (!contentHnd->characters(string())) { - reportParseError(contentHnd->errorString()); - return false; - } - } - } - stringClear(); - if (lexicalHnd) { - if (!lexicalHnd->endEntity(xmlRefStack.top().name)) { - reportParseError(lexicalHnd->errorString()); - return false; - } - } - xmlRefStack.pop_back(); - count--; - } - return true; -} - -/* - Parse Misc [27]. -*/ -bool QXmlSimpleReaderPrivate::parseMisc() -{ - const signed char Init = 0; - const signed char Lt = 1; // '<' was read - const signed char Comment = 2; // read comment - const signed char eatWS = 3; // eat whitespaces - const signed char PInstr = 4; // read PI - const signed char Comment2 = 5; // read comment - - const signed char InpWs = 0; // S - const signed char InpLt = 1; // < - const signed char InpQm = 2; // ? - const signed char InpEm = 3; // ! - const signed char InpUnknown = 4; - - static const signed char table[3][5] = { - /* InpWs InpLt InpQm InpEm InpUnknown */ - { eatWS, Lt, -1, -1, -1 }, // Init - { -1, -1, PInstr,Comment, -1 }, // Lt - { -1, -1, -1, -1, Comment2 } // Comment - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseMisc (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseMisc, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case eatWS: - return true; - case PInstr: - if (contentHnd) { - if (!contentHnd->processingInstruction(name(),string())) { - reportParseError(contentHnd->errorString()); - return false; - } - } - return true; - case Comment2: - if (lexicalHnd) { - if (!lexicalHnd->comment(string())) { - reportParseError(lexicalHnd->errorString()); - return false; - } - } - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_UNEXPECTEDCHARACTER)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseMisc, state); - return false; - } - if (is_S(c)) { - input = InpWs; - } else if (c == QLatin1Char('<')) { - input = InpLt; - } else if (c == QLatin1Char('?')) { - input = InpQm; - } else if (c == QLatin1Char('!')) { - input = InpEm; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case eatWS: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseMisc, state); - return false; - } - break; - case Lt: - next(); - break; - case PInstr: - parsePI_xmldecl = false; - if (!parsePI()) { - parseFailed(&QXmlSimpleReaderPrivate::parseMisc, state); - return false; - } - break; - case Comment: - next(); - break; - case Comment2: - if (!parseComment()) { - parseFailed(&QXmlSimpleReaderPrivate::parseMisc, state); - return false; - } - break; - } - } - return false; -} - -/* - Parse a processing instruction [16]. - - If xmldec is true, it tries to parse a PI or a XML declaration [23]. - - Precondition: the beginning '<' of the PI is already read and the head stand - on the '?' of ' - const signed char InpQm = 3; // ? - const signed char InpUnknown = 4; - - static const signed char table[16][5] = { - /* InpWs, InpNameBe InpGt InpQm InpUnknown */ - { -1, -1, -1, QmI, -1 }, // Init - { -1, Name, -1, -1, -1 }, // QmI - { -1, -1, -1, -1, -1 }, // Name (this state is left not through input) - { Ws1, -1, -1, -1, -1 }, // XMLDecl - { -1, Version, -1, -1, -1 }, // Ws1 - { Ws2, -1, -1, Qm, -1 }, // PInstr - { Char, Char, Char, Qm, Char }, // Ws2 - { Ws3, -1, -1, ADone, -1 }, // Version - { -1, EorSD, -1, ADone, -1 }, // Ws3 - { Ws4, -1, -1, ADone, -1 }, // EorSD - { -1, SD, -1, ADone, -1 }, // Ws4 - { Ws5, -1, -1, ADone, -1 }, // SD - { -1, -1, -1, ADone, -1 }, // Ws5 - { -1, -1, Done, -1, -1 }, // ADone - { Char, Char, Char, Qm, Char }, // Char - { Char, Char, Done, Qm, Char }, // Qm - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parsePI (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parsePI, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Name: - // test what name was read and determine the next state - // (not very beautiful, I admit) - if (name().toLower() == QLatin1String("xml")) { - if (parsePI_xmldecl && name() == QLatin1String("xml")) { - state = XMLDecl; - } else { - reportParseError(QLatin1String(XMLERR_INVALIDNAMEFORPI)); - return false; - } - } else { - state = PInstr; - stringClear(); - } - break; - case Version: - // get version (syntax like an attribute) - if (name() != QLatin1String("version")) { - reportParseError(QLatin1String(XMLERR_VERSIONEXPECTED)); - return false; - } - xmlVersion = string(); - break; - case EorSD: - // get the EDecl or SDDecl (syntax like an attribute) - if (name() == QLatin1String("standalone")) { - if (string()== QLatin1String("yes")) { - standalone = QXmlSimpleReaderPrivate::Yes; - } else if (string() == QLatin1String("no")) { - standalone = QXmlSimpleReaderPrivate::No; - } else { - reportParseError(QLatin1String(XMLERR_WRONGVALUEFORSDECL)); - return false; - } - } else if (name() == QLatin1String("encoding")) { - encoding = string(); - } else { - reportParseError(QLatin1String(XMLERR_EDECLORSDDECLEXPECTED)); - return false; - } - break; - case SD: - if (name() != QLatin1String("standalone")) { - reportParseError(QLatin1String(XMLERR_SDDECLEXPECTED)); - return false; - } - if (string() == QLatin1String("yes")) { - standalone = QXmlSimpleReaderPrivate::Yes; - } else if (string() == QLatin1String("no")) { - standalone = QXmlSimpleReaderPrivate::No; - } else { - reportParseError(QLatin1String(XMLERR_WRONGVALUEFORSDECL)); - return false; - } - break; - case Qm: - // test if the skipping was legal - if (!atEnd() && c != QLatin1Char('>')) - stringAddC(QLatin1Char('?')); - break; - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_UNEXPECTEDCHARACTER)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parsePI, state); - return false; - } - if (is_S(c)) { - input = InpWs; - } else if (determineNameChar(c) == NameBeginning) { - input = InpNameBe; - } else if (c == QLatin1Char('>')) { - input = InpGt; - } else if (c == QLatin1Char('?')) { - input = InpQm; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case QmI: - next(); - break; - case Name: - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parsePI, state); - return false; - } - break; - case Ws1: - case Ws2: - case Ws3: - case Ws4: - case Ws5: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parsePI, state); - return false; - } - break; - case Version: - if (!parseAttribute()) { - parseFailed(&QXmlSimpleReaderPrivate::parsePI, state); - return false; - } - break; - case EorSD: - if (!parseAttribute()) { - parseFailed(&QXmlSimpleReaderPrivate::parsePI, state); - return false; - } - break; - case SD: - // get the SDDecl (syntax like an attribute) - if (standalone != QXmlSimpleReaderPrivate::Unknown) { - // already parsed the standalone declaration - reportParseError(QLatin1String(XMLERR_UNEXPECTEDCHARACTER)); - return false; - } - if (!parseAttribute()) { - parseFailed(&QXmlSimpleReaderPrivate::parsePI, state); - return false; - } - break; - case ADone: - next(); - break; - case Char: - stringAddC(); - next(); - break; - case Qm: - // skip the '?' - next(); - break; - case Done: - next(); - break; - } - } - return false; -} - -/* - Parse a document type definition (doctypedecl [28]). - - Precondition: the beginning ' - const signed char InpUnknown = 7; - - static const signed char table[13][8] = { - /* InpWs, InpD InpS InpOB InpCB InpPer InpGt InpUnknown */ - { -1, Doctype, -1, -1, -1, -1, -1, -1 }, // Init - { Ws1, -1, -1, -1, -1, -1, -1, -1 }, // Doctype - { -1, Doctype2, Doctype2, -1, -1, -1, -1, Doctype2 }, // Ws1 - { Ws2, -1, Sys, MP, -1, -1, Done, -1 }, // Doctype2 - { -1, -1, Sys, MP, -1, -1, Done, -1 }, // Ws2 - { Ws3, -1, -1, MP, -1, -1, Done, -1 }, // Sys - { -1, -1, -1, MP, -1, -1, Done, -1 }, // Ws3 - { -1, -1, -1, -1, MPE, PER, -1, Mup }, // MP - { -1, -1, -1, -1, MPE, PER, -1, Mup }, // MPR - { Ws4, -1, -1, -1, MPE, PER, -1, Mup }, // PER - { Ws4, -1, -1, -1, MPE, PER, -1, Mup }, // Mup - { -1, -1, -1, -1, MPE, PER, -1, Mup }, // Ws4 - { -1, -1, -1, -1, -1, -1, Done, -1 } // MPE - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - startDTDwasReported = false; - systemId.clear(); - publicId.clear(); - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseDoctype (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseDoctype, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Doctype2: - doctype = name(); - break; - case MP: - if (!startDTDwasReported && lexicalHnd ) { - startDTDwasReported = true; - if (!lexicalHnd->startDTD(doctype, publicId, systemId)) { - reportParseError(lexicalHnd->errorString()); - return false; - } - } - state = MPR; - break; - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_ERRORPARSINGDOCTYPE)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseDoctype, state); - return false; - } - if (is_S(c)) { - input = InpWs; - } else if (c == QLatin1Char('D')) { - input = InpD; - } else if (c == QLatin1Char('S')) { - input = InpS; - } else if (c == QLatin1Char('P')) { - input = InpS; - } else if (c == QLatin1Char('[')) { - input = InpOB; - } else if (c == QLatin1Char(']')) { - input = InpCB; - } else if (c == QLatin1Char('%')) { - input = InpPer; - } else if (c == QLatin1Char('>')) { - input = InpGt; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case Doctype: - parseString_s = QLatin1String("DOCTYPE"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseDoctype, state); - return false; - } - break; - case Ws1: - case Ws2: - case Ws3: - case Ws4: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseDoctype, state); - return false; - } - break; - case Doctype2: - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseDoctype, state); - return false; - } - break; - case Sys: - parseExternalID_allowPublicID = false; - if (!parseExternalID()) { - parseFailed(&QXmlSimpleReaderPrivate::parseDoctype, state); - return false; - } - thisPublicId = publicId; - thisSystemId = systemId; - break; - case MP: - case MPR: - if (!next_eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseDoctype, state); - return false; - } - break; - case PER: - parsePEReference_context = InDTD; - if (!parsePEReference()) { - parseFailed(&QXmlSimpleReaderPrivate::parseDoctype, state); - return false; - } - break; - case Mup: - if (dtdRecursionLimit > 0 && parameterEntities.size() > dtdRecursionLimit) { - reportParseError(QString::fromLatin1( - "DTD parsing exceeded recursion limit of %1.").arg(dtdRecursionLimit)); - return false; - } - if (!parseMarkupdecl()) { - parseFailed(&QXmlSimpleReaderPrivate::parseDoctype, state); - return false; - } - break; - case MPE: - if (!next_eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseDoctype, state); - return false; - } - break; - case Done: - if (lexicalHnd) { - if (!startDTDwasReported) { - startDTDwasReported = true; - if (!lexicalHnd->startDTD(doctype, publicId, systemId)) { - reportParseError(lexicalHnd->errorString()); - return false; - } - } - if (!lexicalHnd->endDTD()) { - reportParseError(lexicalHnd->errorString()); - return false; - } - } - next(); - break; - } - } - return false; -} - -/* - Parse a ExternalID [75]. - - If allowPublicID is true parse ExternalID [75] or PublicID [83]. -*/ -bool QXmlSimpleReaderPrivate::parseExternalID() -{ - const signed char Init = 0; - const signed char Sys = 1; // parse 'SYSTEM' - const signed char SysWS = 2; // parse the whitespace after 'SYSTEM' - const signed char SysSQ = 3; // parse SystemLiteral with ' - const signed char SysSQ2 = 4; // parse SystemLiteral with ' - const signed char SysDQ = 5; // parse SystemLiteral with " - const signed char SysDQ2 = 6; // parse SystemLiteral with " - const signed char Pub = 7; // parse 'PUBLIC' - const signed char PubWS = 8; // parse the whitespace after 'PUBLIC' - const signed char PubSQ = 9; // parse PubidLiteral with ' - const signed char PubSQ2 = 10; // parse PubidLiteral with ' - const signed char PubDQ = 11; // parse PubidLiteral with " - const signed char PubDQ2 = 12; // parse PubidLiteral with " - const signed char PubE = 13; // finished parsing the PubidLiteral - const signed char PubWS2 = 14; // parse the whitespace after the PubidLiteral - const signed char PDone = 15; // done if allowPublicID is true - const signed char Done = 16; - - const signed char InpSQ = 0; // ' - const signed char InpDQ = 1; // " - const signed char InpS = 2; // S - const signed char InpP = 3; // P - const signed char InpWs = 4; // white space - const signed char InpUnknown = 5; - - static const signed char table[15][6] = { - /* InpSQ InpDQ InpS InpP InpWs InpUnknown */ - { -1, -1, Sys, Pub, -1, -1 }, // Init - { -1, -1, -1, -1, SysWS, -1 }, // Sys - { SysSQ, SysDQ, -1, -1, -1, -1 }, // SysWS - { Done, SysSQ2, SysSQ2, SysSQ2, SysSQ2, SysSQ2 }, // SysSQ - { Done, SysSQ2, SysSQ2, SysSQ2, SysSQ2, SysSQ2 }, // SysSQ2 - { SysDQ2, Done, SysDQ2, SysDQ2, SysDQ2, SysDQ2 }, // SysDQ - { SysDQ2, Done, SysDQ2, SysDQ2, SysDQ2, SysDQ2 }, // SysDQ2 - { -1, -1, -1, -1, PubWS, -1 }, // Pub - { PubSQ, PubDQ, -1, -1, -1, -1 }, // PubWS - { PubE, -1, PubSQ2, PubSQ2, PubSQ2, PubSQ2 }, // PubSQ - { PubE, -1, PubSQ2, PubSQ2, PubSQ2, PubSQ2 }, // PubSQ2 - { -1, PubE, PubDQ2, PubDQ2, PubDQ2, PubDQ2 }, // PubDQ - { -1, PubE, PubDQ2, PubDQ2, PubDQ2, PubDQ2 }, // PubDQ2 - { PDone, PDone, PDone, PDone, PubWS2, PDone }, // PubE - { SysSQ, SysDQ, PDone, PDone, PDone, PDone } // PubWS2 - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - systemId.clear(); - publicId.clear(); - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseExternalID (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseExternalID, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case PDone: - if (parseExternalID_allowPublicID) { - publicId = string(); - return true; - } else { - reportParseError(QLatin1String(XMLERR_UNEXPECTEDCHARACTER)); - return false; - } - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_UNEXPECTEDCHARACTER)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseExternalID, state); - return false; - } - if (is_S(c)) { - input = InpWs; - } else if (c == QLatin1Char('\'')) { - input = InpSQ; - } else if (c == QLatin1Char('"')) { - input = InpDQ; - } else if (c == QLatin1Char('S')) { - input = InpS; - } else if (c == QLatin1Char('P')) { - input = InpP; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case Sys: - parseString_s = QLatin1String("SYSTEM"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseExternalID, state); - return false; - } - break; - case SysWS: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseExternalID, state); - return false; - } - break; - case SysSQ: - case SysDQ: - stringClear(); - next(); - break; - case SysSQ2: - case SysDQ2: - stringAddC(); - next(); - break; - case Pub: - parseString_s = QLatin1String("PUBLIC"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseExternalID, state); - return false; - } - break; - case PubWS: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseExternalID, state); - return false; - } - break; - case PubSQ: - case PubDQ: - stringClear(); - next(); - break; - case PubSQ2: - case PubDQ2: - stringAddC(); - next(); - break; - case PubE: - next(); - break; - case PubWS2: - publicId = string(); - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseExternalID, state); - return false; - } - break; - case Done: - systemId = string(); - next(); - break; - } - } - return false; -} - -/* - Parse a markupdecl [29]. -*/ -bool QXmlSimpleReaderPrivate::parseMarkupdecl() -{ - const signed char Init = 0; - const signed char Lt = 1; // < was read - const signed char Em = 2; // ! was read - const signed char CE = 3; // E was read - const signed char Qm = 4; // ? was read - const signed char Dash = 5; // - was read - const signed char CA = 6; // A was read - const signed char CEL = 7; // EL was read - const signed char CEN = 8; // EN was read - const signed char CN = 9; // N was read - const signed char Done = 10; - - const signed char InpLt = 0; // < - const signed char InpQm = 1; // ? - const signed char InpEm = 2; // ! - const signed char InpDash = 3; // - - const signed char InpA = 4; // A - const signed char InpE = 5; // E - const signed char InpL = 6; // L - const signed char InpN = 7; // N - const signed char InpUnknown = 8; - - static const signed char table[4][9] = { - /* InpLt InpQm InpEm InpDash InpA InpE InpL InpN InpUnknown */ - { Lt, -1, -1, -1, -1, -1, -1, -1, -1 }, // Init - { -1, Qm, Em, -1, -1, -1, -1, -1, -1 }, // Lt - { -1, -1, -1, Dash, CA, CE, -1, CN, -1 }, // Em - { -1, -1, -1, -1, -1, -1, CEL, CEN, -1 } // CE - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseMarkupdecl (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseMarkupdecl, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Qm: - if (contentHnd) { - if (!contentHnd->processingInstruction(name(),string())) { - reportParseError(contentHnd->errorString()); - return false; - } - } - return true; - case Dash: - if (lexicalHnd) { - if (!lexicalHnd->comment(string())) { - reportParseError(lexicalHnd->errorString()); - return false; - } - } - return true; - case CA: - return true; - case CEL: - return true; - case CEN: - return true; - case CN: - return true; - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_LETTEREXPECTED)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseMarkupdecl, state); - return false; - } - if (c == QLatin1Char('<')) { - input = InpLt; - } else if (c == QLatin1Char('?')) { - input = InpQm; - } else if (c == QLatin1Char('!')) { - input = InpEm; - } else if (c == QLatin1Char('-')) { - input = InpDash; - } else if (c == QLatin1Char('A')) { - input = InpA; - } else if (c == QLatin1Char('E')) { - input = InpE; - } else if (c == QLatin1Char('L')) { - input = InpL; - } else if (c == QLatin1Char('N')) { - input = InpN; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case Lt: - next(); - break; - case Em: - next(); - break; - case CE: - next(); - break; - case Qm: - parsePI_xmldecl = false; - if (!parsePI()) { - parseFailed(&QXmlSimpleReaderPrivate::parseMarkupdecl, state); - return false; - } - break; - case Dash: - if (!parseComment()) { - parseFailed(&QXmlSimpleReaderPrivate::parseMarkupdecl, state); - return false; - } - break; - case CA: - if (!parseAttlistDecl()) { - parseFailed(&QXmlSimpleReaderPrivate::parseMarkupdecl, state); - return false; - } - break; - case CEL: - if (!parseElementDecl()) { - parseFailed(&QXmlSimpleReaderPrivate::parseMarkupdecl, state); - return false; - } - break; - case CEN: - if (!parseEntityDecl()) { - parseFailed(&QXmlSimpleReaderPrivate::parseMarkupdecl, state); - return false; - } - break; - case CN: - if (!parseNotationDecl()) { - parseFailed(&QXmlSimpleReaderPrivate::parseMarkupdecl, state); - return false; - } - break; - } - } - return false; -} - -/* - Parse a PEReference [69] -*/ -bool QXmlSimpleReaderPrivate::parsePEReference() -{ - const signed char Init = 0; - const signed char Next = 1; - const signed char Name = 2; - const signed char NameR = 3; // same as Name, but already reported - const signed char Done = 4; - - const signed char InpSemi = 0; // ; - const signed char InpPer = 1; // % - const signed char InpUnknown = 2; - - static const signed char table[4][3] = { - /* InpSemi InpPer InpUnknown */ - { -1, Next, -1 }, // Init - { -1, -1, Name }, // Next - { Done, -1, -1 }, // Name - { Done, -1, -1 } // NameR - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parsePEReference (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parsePEReference, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Name: - { - bool skipIt = true; - QString xmlRefString; - - QMap::Iterator it; - it = parameterEntities.find(ref()); - if (it != parameterEntities.end()) { - skipIt = false; - xmlRefString = *it; - } else if (entityRes) { - QMap::Iterator it2; - it2 = externParameterEntities.find(ref()); -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - QXmlInputSource *ret = nullptr; -QT_WARNING_POP - if (it2 != externParameterEntities.end()) { - if (!entityRes->resolveEntity((*it2).publicId, (*it2).systemId, ret)) { - delete ret; - reportParseError(entityRes->errorString()); - return false; - } - if (ret) { - QString buffer = ret->data(); - while (!buffer.isEmpty()) { - xmlRefString += buffer; - ret->fetchData(); - buffer = ret->data(); - } - delete ret; - if (!stripTextDecl(xmlRefString)) { - reportParseError(QLatin1String(XMLERR_ERRORINTEXTDECL)); - return false; - } - skipIt = false; - } - } - } - - if (skipIt) { - if (contentHnd) { - if (!contentHnd->skippedEntity(QLatin1Char('%') + ref())) { - reportParseError(contentHnd->errorString()); - return false; - } - } - } else { - if (parsePEReference_context == InEntityValue) { - // Included in literal - if (!insertXmlRef(xmlRefString, ref(), true)) - return false; - } else if (parsePEReference_context == InDTD) { - // Included as PE - if (!insertXmlRef(QLatin1Char(' ') + xmlRefString + QLatin1Char(' '), ref(), false)) - return false; - } - } - } - state = NameR; - break; - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_LETTEREXPECTED)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parsePEReference, state); - return false; - } - if (c == QLatin1Char(';')) { - input = InpSemi; - } else if (c == QLatin1Char('%')) { - input = InpPer; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case Next: - next(); - break; - case Name: - case NameR: - parseName_useRef = true; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parsePEReference, state); - return false; - } - break; - case Done: - next(); - break; - } - } - return false; -} - -/* - Parse a AttlistDecl [52]. - - Precondition: the beginning ' - const signed char InpHash = 2; // # - const signed char InpA = 3; // A - const signed char InpI = 4; // I - const signed char InpF = 5; // F - const signed char InpR = 6; // R - const signed char InpUnknown = 7; - - static const signed char table[15][8] = { - /* InpWs InpGt InpHash InpA InpI InpF InpR InpUnknown */ - { -1, -1, -1, Attlist, -1, -1, -1, -1 }, // Init - { Ws, -1, -1, -1, -1, -1, -1, -1 }, // Attlist - { -1, -1, -1, Name, Name, Name, Name, Name }, // Ws - { Ws1, Done, Attdef, Attdef, Attdef, Attdef, Attdef, Attdef }, // Name - { -1, Done, Attdef, Attdef, Attdef, Attdef, Attdef, Attdef }, // Ws1 - { Ws2, -1, -1, -1, -1, -1, -1, -1 }, // Attdef - { -1, Atttype, Atttype, Atttype, Atttype, Atttype, Atttype, Atttype }, // Ws2 - { Ws3, -1, -1, -1, -1, -1, -1, -1 }, // Attype - { -1, Attval, DDecH, Attval, Attval, Attval, Attval, Attval }, // Ws3 - { -1, -1, -1, -1, DefImp, DefFix, DefReq, -1 }, // DDecH - { Ws4, Ws4, -1, -1, -1, -1, -1, -1 }, // DefReq - { Ws4, Ws4, -1, -1, -1, -1, -1, -1 }, // DefImp - { Ws3, -1, -1, -1, -1, -1, -1, -1 }, // DefFix - { Ws4, Ws4, -1, -1, -1, -1, -1, -1 }, // Attval - { -1, Done, Attdef, Attdef, Attdef, Attdef, Attdef, Attdef } // Ws4 - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseAttlistDecl (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttlistDecl, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Name: - attDeclEName = name(); - break; - case Attdef: - attDeclAName = name(); - break; - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_LETTEREXPECTED)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseAttlistDecl, state); - return false; - } - if (is_S(c)) { - input = InpWs; - } else if (c == QLatin1Char('>')) { - input = InpGt; - } else if (c == QLatin1Char('#')) { - input = InpHash; - } else if (c == QLatin1Char('A')) { - input = InpA; - } else if (c == QLatin1Char('I')) { - input = InpI; - } else if (c == QLatin1Char('F')) { - input = InpF; - } else if (c == QLatin1Char('R')) { - input = InpR; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case Attlist: - parseString_s = QLatin1String("ATTLIST"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttlistDecl, state); - return false; - } - break; - case Ws: - case Ws1: - case Ws2: - case Ws3: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttlistDecl, state); - return false; - } - break; - case Name: - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttlistDecl, state); - return false; - } - break; - case Attdef: - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttlistDecl, state); - return false; - } - break; - case Atttype: - if (!parseAttType()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttlistDecl, state); - return false; - } - break; - case DDecH: - next(); - break; - case DefReq: - parseString_s = QLatin1String("REQUIRED"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttlistDecl, state); - return false; - } - break; - case DefImp: - parseString_s = QLatin1String("IMPLIED"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttlistDecl, state); - return false; - } - break; - case DefFix: - parseString_s = QLatin1String("FIXED"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttlistDecl, state); - return false; - } - break; - case Attval: - if (!parseAttValue()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttlistDecl, state); - return false; - } - break; - case Ws4: - if (declHnd) { - // ### not all values are computed yet... - if (!declHnd->attributeDecl(attDeclEName, attDeclAName, QLatin1String(""), QLatin1String(""), QLatin1String(""))) { - reportParseError(declHnd->errorString()); - return false; - } - } - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttlistDecl, state); - return false; - } - break; - case Done: - next(); - break; - } - } - return false; -} - -/* - Parse a AttType [54] -*/ -bool QXmlSimpleReaderPrivate::parseAttType() -{ - const signed char Init = 0; - const signed char ST = 1; // StringType - const signed char TTI = 2; // TokenizedType starting with 'I' - const signed char TTI2 = 3; // TokenizedType helpstate - const signed char TTI3 = 4; // TokenizedType helpstate - const signed char TTE = 5; // TokenizedType starting with 'E' - const signed char TTEY = 6; // TokenizedType starting with 'ENTITY' - const signed char TTEI = 7; // TokenizedType starting with 'ENTITI' - const signed char N = 8; // N read (TokenizedType or Notation) - const signed char TTNM = 9; // TokenizedType starting with 'NM' - const signed char TTNM2 = 10; // TokenizedType helpstate - const signed char NO = 11; // Notation - const signed char NO2 = 12; // Notation helpstate - const signed char NO3 = 13; // Notation helpstate - const signed char NOName = 14; // Notation, read name - const signed char NO4 = 15; // Notation helpstate - const signed char EN = 16; // Enumeration - const signed char ENNmt = 17; // Enumeration, read Nmtoken - const signed char EN2 = 18; // Enumeration helpstate - const signed char ADone = 19; // almost done (make next and accept) - const signed char Done = 20; - - const signed char InpWs = 0; // whitespace - const signed char InpOp = 1; // ( - const signed char InpCp = 2; //) - const signed char InpPipe = 3; // | - const signed char InpC = 4; // C - const signed char InpE = 5; // E - const signed char InpI = 6; // I - const signed char InpM = 7; // M - const signed char InpN = 8; // N - const signed char InpO = 9; // O - const signed char InpR = 10; // R - const signed char InpS = 11; // S - const signed char InpY = 12; // Y - const signed char InpUnknown = 13; - - static const signed char table[19][14] = { - /* InpWs InpOp InpCp InpPipe InpC InpE InpI InpM InpN InpO InpR InpS InpY InpUnknown */ - { -1, EN, -1, -1, ST, TTE, TTI, -1, N, -1, -1, -1, -1, -1 }, // Init - { Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done }, // ST - { Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, TTI2, Done, Done, Done }, // TTI - { Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, TTI3, Done, Done }, // TTI2 - { Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done }, // TTI3 - { -1, -1, -1, -1, -1, -1, TTEI, -1, -1, -1, -1, -1, TTEY, -1 }, // TTE - { Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done }, // TTEY - { Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done }, // TTEI - { -1, -1, -1, -1, -1, -1, -1, TTNM, -1, NO, -1, -1, -1, -1 }, // N - { Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, TTNM2, Done, Done }, // TTNM - { Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done, Done }, // TTNM2 - { NO2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, // NO - { -1, NO3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, // NO2 - { NOName, NOName, NOName, NOName, NOName, NOName, NOName, NOName, NOName, NOName, NOName, NOName, NOName, NOName }, // NO3 - { NO4, -1, ADone, NO3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, // NOName - { -1, -1, ADone, NO3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, // NO4 - { -1, -1, ENNmt, -1, ENNmt, ENNmt, ENNmt, ENNmt, ENNmt, ENNmt, ENNmt, ENNmt, ENNmt, ENNmt }, // EN - { EN2, -1, ADone, EN, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, // ENNmt - { -1, -1, ADone, EN, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 } // EN2 - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseAttType (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case ADone: - return true; - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_LETTEREXPECTED)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - if (is_S(c)) { - input = InpWs; - } else if (c == QLatin1Char('(')) { - input = InpOp; - } else if (c == QLatin1Char(')')) { - input = InpCp; - } else if (c == QLatin1Char('|')) { - input = InpPipe; - } else if (c == QLatin1Char('C')) { - input = InpC; - } else if (c == QLatin1Char('E')) { - input = InpE; - } else if (c == QLatin1Char('I')) { - input = InpI; - } else if (c == QLatin1Char('M')) { - input = InpM; - } else if (c == QLatin1Char('N')) { - input = InpN; - } else if (c == QLatin1Char('O')) { - input = InpO; - } else if (c == QLatin1Char('R')) { - input = InpR; - } else if (c == QLatin1Char('S')) { - input = InpS; - } else if (c == QLatin1Char('Y')) { - input = InpY; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case ST: - parseString_s = QLatin1String("CDATA"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case TTI: - parseString_s = QLatin1String("ID"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case TTI2: - parseString_s = QLatin1String("REF"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case TTI3: - next(); // S - break; - case TTE: - parseString_s = QLatin1String("ENTIT"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case TTEY: - next(); // Y - break; - case TTEI: - parseString_s = QLatin1String("IES"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case N: - next(); // N - break; - case TTNM: - parseString_s = QLatin1String("MTOKEN"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case TTNM2: - next(); // S - break; - case NO: - parseString_s = QLatin1String("OTATION"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case NO2: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case NO3: - if (!next_eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case NOName: - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case NO4: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case EN: - if (!next_eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case ENNmt: - if (!parseNmtoken()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case EN2: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttType, state); - return false; - } - break; - case ADone: - next(); - break; - } - } - return false; -} - -/* - Parse a AttValue [10] - - Precondition: the head stands on the beginning " or ' - - If this function was successful, the head stands on the first - character after the closing " or ' and the value of the attribute - is in string(). -*/ -bool QXmlSimpleReaderPrivate::parseAttValue() -{ - const signed char Init = 0; - const signed char Dq = 1; // double quotes were read - const signed char DqRef = 2; // read references in double quotes - const signed char DqC = 3; // signed character read in double quotes - const signed char Sq = 4; // single quotes were read - const signed char SqRef = 5; // read references in single quotes - const signed char SqC = 6; // signed character read in single quotes - const signed char Done = 7; - - const signed char InpDq = 0; // " - const signed char InpSq = 1; // ' - const signed char InpAmp = 2; // & - const signed char InpLt = 3; // < - const signed char InpUnknown = 4; - - static const signed char table[7][5] = { - /* InpDq InpSq InpAmp InpLt InpUnknown */ - { Dq, Sq, -1, -1, -1 }, // Init - { Done, DqC, DqRef, -1, DqC }, // Dq - { Done, DqC, DqRef, -1, DqC }, // DqRef - { Done, DqC, DqRef, -1, DqC }, // DqC - { SqC, Done, SqRef, -1, SqC }, // Sq - { SqC, Done, SqRef, -1, SqC }, // SqRef - { SqC, Done, SqRef, -1, SqC } // SqRef - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseAttValue (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttValue, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_UNEXPECTEDCHARACTER)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseAttValue, state); - return false; - } - if (c == QLatin1Char('"')) { - input = InpDq; - } else if (c == QLatin1Char('\'')) { - input = InpSq; - } else if (c == QLatin1Char('&')) { - input = InpAmp; - } else if (c == QLatin1Char('<')) { - input = InpLt; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case Dq: - case Sq: - stringClear(); - next(); - break; - case DqRef: - case SqRef: - parseReference_context = InAttributeValue; - if (!parseReference()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttValue, state); - return false; - } - break; - case DqC: - case SqC: - stringAddC(); - next(); - break; - case Done: - next(); - break; - } - } - return false; -} - -/* - Parse a elementdecl [45]. - - Precondition: the beginning ' - const signed char InpPipe = 2; // | - const signed char InpOp = 3; // ( - const signed char InpCp = 4; //) - const signed char InpHash = 5; // # - const signed char InpQm = 6; // ? - const signed char InpAst = 7; // * - const signed char InpPlus = 8; // + - const signed char InpA = 9; // A - const signed char InpE = 10; // E - const signed char InpL = 11; // L - const signed char InpUnknown = 12; - - static const signed char table[18][13] = { - /* InpWs InpGt InpPipe InpOp InpCp InpHash InpQm InpAst InpPlus InpA InpE InpL InpUnknown */ - { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, Elem, -1 }, // Init - { Ws1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, // Elem - { -1, -1, -1, -1, -1, -1, -1, -1, -1, Nam, Nam, Nam, Nam }, // Ws1 - { Ws2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, // Nam - { -1, -1, -1, Cont, -1, -1, -1, -1, -1, Any, Empty, -1, -1 }, // Ws2 - { WsD, Done, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, // Empty - { WsD, Done, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, // Any - { -1, -1, -1, Cp, Cp, Mix, -1, -1, -1, Cp, Cp, Cp, Cp }, // Cont - { Mix2, -1, MixN1, -1, Mix3, -1, -1, -1, -1, -1, -1, -1, -1 }, // Mix - { -1, -1, MixN1, -1, Mix3, -1, -1, -1, -1, -1, -1, -1, -1 }, // Mix2 - { WsD, Done, -1, -1, -1, -1, -1, WsD, -1, -1, -1, -1, -1 }, // Mix3 - { -1, -1, -1, -1, -1, -1, -1, -1, -1, MixN2, MixN2, MixN2, MixN2 }, // MixN1 - { MixN3, -1, MixN1, -1, MixN4, -1, -1, -1, -1, -1, -1, -1, -1 }, // MixN2 - { -1, -1, MixN1, -1, MixN4, -1, -1, -1, -1, -1, -1, -1, -1 }, // MixN3 - { -1, -1, -1, -1, -1, -1, -1, WsD, -1, -1, -1, -1, -1 }, // MixN4 - { WsD, Done, -1, -1, -1, -1, Cp2, Cp2, Cp2, -1, -1, -1, -1 }, // Cp - { WsD, Done, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, // Cp2 - { -1, Done, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 } // WsD - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseElementDecl (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Done: - return true; - case -1: - reportParseError(QLatin1String(XMLERR_UNEXPECTEDCHARACTER)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - if (is_S(c)) { - input = InpWs; - } else if (c == QLatin1Char('>')) { - input = InpGt; - } else if (c == QLatin1Char('|')) { - input = InpPipe; - } else if (c == QLatin1Char('(')) { - input = InpOp; - } else if (c == QLatin1Char(')')) { - input = InpCp; - } else if (c == QLatin1Char('#')) { - input = InpHash; - } else if (c == QLatin1Char('?')) { - input = InpQm; - } else if (c == QLatin1Char('*')) { - input = InpAst; - } else if (c == QLatin1Char('+')) { - input = InpPlus; - } else if (c == QLatin1Char('A')) { - input = InpA; - } else if (c == QLatin1Char('E')) { - input = InpE; - } else if (c == QLatin1Char('L')) { - input = InpL; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case Elem: - parseString_s = QLatin1String("LEMENT"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case Ws1: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case Nam: - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case Ws2: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case Empty: - parseString_s = QLatin1String("EMPTY"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case Any: - parseString_s = QLatin1String("ANY"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case Cont: - if (!next_eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case Mix: - parseString_s = QLatin1String("#PCDATA"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case Mix2: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case Mix3: - next(); - break; - case MixN1: - if (!next_eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case MixN2: - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case MixN3: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case MixN4: - next(); - break; - case Cp: - if (!parseChoiceSeq()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case Cp2: - next(); - break; - case WsD: - if (!next_eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseElementDecl, state); - return false; - } - break; - case Done: - next(); - break; - } - } - return false; -} - -/* - Parse a NotationDecl [82]. - - Precondition: the beginning ' - const signed char InpN = 2; // N - const signed char InpUnknown = 3; - - static const signed char table[8][4] = { - /* InpWs InpGt InpN InpUnknown */ - { -1, -1, Not, -1 }, // Init - { Ws1, -1, -1, -1 }, // Not - { -1, -1, Nam, Nam }, // Ws1 - { Ws2, Done, -1, -1 }, // Nam - { -1, Done, ExtID, ExtID }, // Ws2 - { Ws3, Done, -1, -1 }, // ExtID - { Ws3, Done, -1, -1 }, // ExtIDR - { -1, Done, -1, -1 } // Ws3 - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseNotationDecl (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseNotationDecl, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case ExtID: - // call the handler - if (dtdHnd) { - if (!dtdHnd->notationDecl(name(), publicId, systemId)) { - reportParseError(dtdHnd->errorString()); - return false; - } - } - state = ExtIDR; - break; - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_UNEXPECTEDCHARACTER)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseNotationDecl, state); - return false; - } - if (is_S(c)) { - input = InpWs; - } else if (c == QLatin1Char('>')) { - input = InpGt; - } else if (c == QLatin1Char('N')) { - input = InpN; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case Not: - parseString_s = QLatin1String("NOTATION"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseNotationDecl, state); - return false; - } - break; - case Ws1: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseNotationDecl, state); - return false; - } - break; - case Nam: - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseNotationDecl, state); - return false; - } - break; - case Ws2: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseNotationDecl, state); - return false; - } - break; - case ExtID: - case ExtIDR: - parseExternalID_allowPublicID = true; - if (!parseExternalID()) { - parseFailed(&QXmlSimpleReaderPrivate::parseNotationDecl, state); - return false; - } - break; - case Ws3: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseNotationDecl, state); - return false; - } - break; - case Done: - next(); - break; - } - } - return false; -} - -/* - Parse choice [49] or seq [50]. - - Precondition: the beginning '('S? is already read and the head - stands on the first non-whitespace character after it. -*/ -bool QXmlSimpleReaderPrivate::parseChoiceSeq() -{ - const signed char Init = 0; - const signed char Ws1 = 1; // eat whitespace - const signed char CoS = 2; // choice or set - const signed char Ws2 = 3; // eat whitespace - const signed char More = 4; // more cp to read - const signed char Name = 5; // read name - const signed char Done = 6; // - - const signed char InpWs = 0; // S - const signed char InpOp = 1; // ( - const signed char InpCp = 2; //) - const signed char InpQm = 3; // ? - const signed char InpAst = 4; // * - const signed char InpPlus = 5; // + - const signed char InpPipe = 6; // | - const signed char InpComm = 7; // , - const signed char InpUnknown = 8; - - static const signed char table[6][9] = { - /* InpWs InpOp InpCp InpQm InpAst InpPlus InpPipe InpComm InpUnknown */ - { -1, Ws1, -1, -1, -1, -1, -1, -1, Name }, // Init - { -1, CoS, -1, -1, -1, -1, -1, -1, CoS }, // Ws1 - { Ws2, -1, Done, Ws2, Ws2, Ws2, More, More, -1 }, // CS - { -1, -1, Done, -1, -1, -1, More, More, -1 }, // Ws2 - { -1, Ws1, -1, -1, -1, -1, -1, -1, Name }, // More (same as Init) - { Ws2, -1, Done, Ws2, Ws2, Ws2, More, More, -1 } // Name (same as CS) - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseChoiceSeq (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseChoiceSeq, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_UNEXPECTEDCHARACTER)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseChoiceSeq, state); - return false; - } - if (is_S(c)) { - input = InpWs; - } else if (c == QLatin1Char('(')) { - input = InpOp; - } else if (c == QLatin1Char(')')) { - input = InpCp; - } else if (c == QLatin1Char('?')) { - input = InpQm; - } else if (c == QLatin1Char('*')) { - input = InpAst; - } else if (c == QLatin1Char('+')) { - input = InpPlus; - } else if (c == QLatin1Char('|')) { - input = InpPipe; - } else if (c == QLatin1Char(',')) { - input = InpComm; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case Ws1: - if (!next_eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseChoiceSeq, state); - return false; - } - break; - case CoS: - if (!parseChoiceSeq()) { - parseFailed(&QXmlSimpleReaderPrivate::parseChoiceSeq, state); - return false; - } - break; - case Ws2: - if (!next_eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseChoiceSeq, state); - return false; - } - break; - case More: - if (!next_eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseChoiceSeq, state); - return false; - } - break; - case Name: - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseChoiceSeq, state); - return false; - } - break; - case Done: - next(); - break; - } - } - return false; -} - -bool QXmlSimpleReaderPrivate::isExpandedEntityValueTooLarge(QString *errorMessage) -{ - QString entityNameBuffer; - - // For every entity, check how many times all entity names were referenced in its value. - for (QMap::const_iterator toSearchIt = entities.constBegin(); - toSearchIt != entities.constEnd(); - ++toSearchIt) { - const QString &toSearch = toSearchIt.key(); - - // Don't check the same entities twice. - if (!literalEntitySizes.contains(toSearch)) { - // The amount of characters that weren't entity names, but literals, like 'X'. - QString leftOvers = entities.value(toSearch); - // How many times was entityName referenced by toSearch? - for (QMap::const_iterator referencedIt = entities.constBegin(); - referencedIt != entities.constEnd(); - ++referencedIt) { - const QString &entityName = referencedIt.key(); - - for (int i = 0; i < leftOvers.size() && i != -1; ) { - entityNameBuffer = QLatin1Char('&') + entityName + QLatin1Char(';'); - - i = leftOvers.indexOf(entityNameBuffer, i); - if (i != -1) { - leftOvers.remove(i, entityName.size() + 2); - // The entityName we're currently trying to find was matched in this string; increase our count. - ++referencesToOtherEntities[toSearch][entityName]; - } - } - } - literalEntitySizes[toSearch] = leftOvers.size(); - } - } - - for (QHash >::const_iterator entityIt = referencesToOtherEntities.constBegin(); - entityIt != referencesToOtherEntities.constEnd(); - ++entityIt) { - const QString &entity = entityIt.key(); - - QHash::iterator expandedIt = expandedSizes.find(entity); - if (expandedIt == expandedSizes.end()) { - expandedIt = expandedSizes.insert(entity, literalEntitySizes.value(entity)); - for (QHash::const_iterator referenceIt = entityIt->constBegin(); - referenceIt != entityIt->constEnd(); - ++referenceIt) { - const QString &referenceTo = referenceIt.key(); - const int references = referencesToOtherEntities.value(entity).value(referenceTo); - // The total size of an entity's value is the expanded size of all of its referenced entities, plus its literal size. - *expandedIt += expandedSizes.value(referenceTo) * references + literalEntitySizes.value(referenceTo) * references; - } - - if (*expandedIt > entityCharacterLimit) { - if (errorMessage) { - *errorMessage = QString::fromLatin1("The XML entity \"%1\" expands to a string that is too large to process (%2 characters > %3).") - .arg(entity, QString::number(*expandedIt), QString::number(entityCharacterLimit)); - } - return true; - } - } - } - return false; -} - -/* - Parse a EntityDecl [70]. - - Precondition: the beginning ' - const signed char InpN = 4; // N - const signed char InpUnknown = 5; - - static const signed char table[22][6] = { - /* InpWs InpPer InpQuot InpGt InpN InpUnknown */ - { -1, -1, -1, -1, Ent, -1 }, // Init - { Ws1, -1, -1, -1, -1, -1 }, // Ent - { -1, PEDec, -1, -1, Name, Name }, // Ws1 - { Ws2, -1, -1, -1, -1, -1 }, // Name - { -1, -1, EValue, -1, -1, ExtID }, // Ws2 - { WsE, -1, -1, Done, -1, -1 }, // EValue - { WsE, -1, -1, Done, -1, -1 }, // EValueR - { Ws3, -1, -1, EDDone,-1, -1 }, // ExtID - { -1, -1, -1, EDDone,Ndata, -1 }, // Ws3 - { Ws4, -1, -1, -1, -1, -1 }, // Ndata - { -1, -1, -1, -1, NNam, NNam }, // Ws4 - { WsE, -1, -1, Done, -1, -1 }, // NNam - { WsE, -1, -1, Done, -1, -1 }, // NNamR - { Ws6, -1, -1, -1, -1, -1 }, // PEDec - { -1, -1, -1, -1, PENam, PENam }, // Ws6 - { Ws7, -1, -1, -1, -1, -1 }, // PENam - { -1, -1, PEVal, -1, -1, PEEID }, // Ws7 - { WsE, -1, -1, Done, -1, -1 }, // PEVal - { WsE, -1, -1, Done, -1, -1 }, // PEValR - { WsE, -1, -1, Done, -1, -1 }, // PEEID - { WsE, -1, -1, Done, -1, -1 }, // PEEIDR - { -1, -1, -1, Done, -1, -1 } // WsE - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseEntityDecl (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case EValue: - if ( !entityExist(name())) { - QString errorMessage; - if (isExpandedEntityValueTooLarge(&errorMessage)) { - reportParseError(errorMessage); - return false; - } - - entities.insert(name(), string()); - if (declHnd) { - if (!declHnd->internalEntityDecl(name(), string())) { - reportParseError(declHnd->errorString()); - return false; - } - } - } - state = EValueR; - break; - case NNam: - if ( !entityExist(name())) { - externEntities.insert(name(), QXmlSimpleReaderPrivate::ExternEntity(publicId, systemId, ref())); - if (dtdHnd) { - if (!dtdHnd->unparsedEntityDecl(name(), publicId, systemId, ref())) { - reportParseError(declHnd->errorString()); - return false; - } - } - } - state = NNamR; - break; - case PEVal: - if ( !entityExist(name())) { - parameterEntities.insert(name(), string()); - if (declHnd) { - if (!declHnd->internalEntityDecl(QLatin1Char('%') + name(), string())) { - reportParseError(declHnd->errorString()); - return false; - } - } - } - state = PEValR; - break; - case PEEID: - if ( !entityExist(name())) { - externParameterEntities.insert(name(), QXmlSimpleReaderPrivate::ExternParameterEntity(publicId, systemId)); - if (declHnd) { - if (!declHnd->externalEntityDecl(QLatin1Char('%') + name(), publicId, systemId)) { - reportParseError(declHnd->errorString()); - return false; - } - } - } - state = PEEIDR; - break; - case EDDone: - if ( !entityExist(name())) { - externEntities.insert(name(), QXmlSimpleReaderPrivate::ExternEntity(publicId, systemId, QString())); - if (declHnd) { - if (!declHnd->externalEntityDecl(name(), publicId, systemId)) { - reportParseError(declHnd->errorString()); - return false; - } - } - } - return true; - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_LETTEREXPECTED)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - if (is_S(c)) { - input = InpWs; - } else if (c == QLatin1Char('%')) { - input = InpPer; - } else if (c == QLatin1Char('"') || c == QLatin1Char('\'')) { - input = InpQuot; - } else if (c == QLatin1Char('>')) { - input = InpGt; - } else if (c == QLatin1Char('N')) { - input = InpN; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case Ent: - parseString_s = QLatin1String("NTITY"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case Ws1: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case Name: - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case Ws2: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case EValue: - case EValueR: - if (!parseEntityValue()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case ExtID: - parseExternalID_allowPublicID = false; - if (!parseExternalID()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case Ws3: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case Ndata: - parseString_s = QLatin1String("NDATA"); - if (!parseString()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case Ws4: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case NNam: - case NNamR: - parseName_useRef = true; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case PEDec: - next(); - break; - case Ws6: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case PENam: - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case Ws7: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case PEVal: - case PEValR: - if (!parseEntityValue()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case PEEID: - case PEEIDR: - parseExternalID_allowPublicID = false; - if (!parseExternalID()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case WsE: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityDecl, state); - return false; - } - break; - case EDDone: - next(); - break; - case Done: - next(); - break; - } - } - return false; -} - -/* - Parse a EntityValue [9] -*/ -bool QXmlSimpleReaderPrivate::parseEntityValue() -{ - const signed char Init = 0; - const signed char Dq = 1; // EntityValue is double quoted - const signed char DqC = 2; // signed character - const signed char DqPER = 3; // PERefence - const signed char DqRef = 4; // Reference - const signed char Sq = 5; // EntityValue is double quoted - const signed char SqC = 6; // signed character - const signed char SqPER = 7; // PERefence - const signed char SqRef = 8; // Reference - const signed char Done = 9; - - const signed char InpDq = 0; // " - const signed char InpSq = 1; // ' - const signed char InpAmp = 2; // & - const signed char InpPer = 3; // % - const signed char InpUnknown = 4; - - static const signed char table[9][5] = { - /* InpDq InpSq InpAmp InpPer InpUnknown */ - { Dq, Sq, -1, -1, -1 }, // Init - { Done, DqC, DqRef, DqPER, DqC }, // Dq - { Done, DqC, DqRef, DqPER, DqC }, // DqC - { Done, DqC, DqRef, DqPER, DqC }, // DqPER - { Done, DqC, DqRef, DqPER, DqC }, // DqRef - { SqC, Done, SqRef, SqPER, SqC }, // Sq - { SqC, Done, SqRef, SqPER, SqC }, // SqC - { SqC, Done, SqRef, SqPER, SqC }, // SqPER - { SqC, Done, SqRef, SqPER, SqC } // SqRef - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseEntityValue (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityValue, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_LETTEREXPECTED)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseEntityValue, state); - return false; - } - if (c == QLatin1Char('"')) { - input = InpDq; - } else if (c == QLatin1Char('\'')) { - input = InpSq; - } else if (c == QLatin1Char('&')) { - input = InpAmp; - } else if (c == QLatin1Char('%')) { - input = InpPer; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case Dq: - case Sq: - stringClear(); - next(); - break; - case DqC: - case SqC: - stringAddC(); - next(); - break; - case DqPER: - case SqPER: - parsePEReference_context = InEntityValue; - if (!parsePEReference()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityValue, state); - return false; - } - break; - case DqRef: - case SqRef: - parseReference_context = InEntityValue; - if (!parseReference()) { - parseFailed(&QXmlSimpleReaderPrivate::parseEntityValue, state); - return false; - } - break; - case Done: - next(); - break; - } - } - return false; -} - -/* - Parse a comment [15]. - - Precondition: the beginning ' - const signed char InpUnknown = 2; - - static const signed char table[6][3] = { - /* InpDash InpGt InpUnknown */ - { Dash1, -1, -1 }, // Init - { Dash2, -1, -1 }, // Dash1 - { Com2, Com, Com }, // Dash2 - { Com2, Com, Com }, // Com - { ComE, Com, Com }, // Com2 - { -1, Done, -1 } // ComE - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseComment (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseComment, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Dash2: - stringClear(); - break; - case Com2: - // if next character is not a dash than don't skip it - if (!atEnd() && c != QLatin1Char('-')) - stringAddC(QLatin1Char('-')); - break; - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_ERRORPARSINGCOMMENT)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseComment, state); - return false; - } - if (c == QLatin1Char('-')) { - input = InpDash; - } else if (c == QLatin1Char('>')) { - input = InpGt; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case Dash1: - next(); - break; - case Dash2: - next(); - break; - case Com: - stringAddC(); - next(); - break; - case Com2: - next(); - break; - case ComE: - next(); - break; - case Done: - next(); - break; - } - } - return false; -} - -/* - Parse an Attribute [41]. - - Precondition: the head stands on the first character of the name - of the attribute (i.e. all whitespaces are already parsed). - - The head stand on the next character after the end quotes. The - variable name contains the name of the attribute and the variable - string contains the value of the attribute. -*/ -bool QXmlSimpleReaderPrivate::parseAttribute() -{ - const int Init = 0; - const int PName = 1; // parse name - const int Ws = 2; // eat ws - const int Eq = 3; // the '=' was read - const int Quotes = 4; // " or ' were read - - const int InpNameBe = 0; - const int InpEq = 1; // = - const int InpDq = 2; // " - const int InpSq = 3; // ' - const int InpUnknown = 4; - - static const int table[4][5] = { - /* InpNameBe InpEq InpDq InpSq InpUnknown */ - { PName, -1, -1, -1, -1 }, // Init - { -1, Eq, -1, -1, Ws }, // PName - { -1, Eq, -1, -1, -1 }, // Ws - { -1, -1, Quotes, Quotes, -1 } // Eq - }; - int state; - int input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseAttribute (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttribute, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Quotes: - // Done - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_UNEXPECTEDCHARACTER)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseAttribute, state); - return false; - } - if (determineNameChar(c) == NameBeginning) { - input = InpNameBe; - } else if (c == QLatin1Char('=')) { - input = InpEq; - } else if (c == QLatin1Char('"')) { - input = InpDq; - } else if (c == QLatin1Char('\'')) { - input = InpSq; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case PName: - parseName_useRef = false; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttribute, state); - return false; - } - break; - case Ws: - if (!eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttribute, state); - return false; - } - break; - case Eq: - if (!next_eat_ws()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttribute, state); - return false; - } - break; - case Quotes: - if (!parseAttValue()) { - parseFailed(&QXmlSimpleReaderPrivate::parseAttribute, state); - return false; - } - break; - } - } - return false; -} - -/* - Parse a Name [5] and store the name in name or ref (if useRef is true). -*/ -bool QXmlSimpleReaderPrivate::parseName() -{ - const int Init = 0; - const int Name1 = 1; // parse first character of the name - const int Name = 2; // parse name - const int Done = 3; - - static const int table[3][3] = { - /* InpNameBe InpNameCh InpUnknown */ - { Name1, -1, -1 }, // Init - { Name, Name, Done }, // Name1 - { Name, Name, Done } // Name - }; - int state; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseName (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseName, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_LETTEREXPECTED)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseName, state); - return false; - } - - // we can safely do the (int) cast thanks to the Q_ASSERTs earlier in this function - state = table[state][(int)fastDetermineNameChar(c)]; - - switch (state) { - case Name1: - if (parseName_useRef) { - refClear(); - refAddC(); - } else { - nameClear(); - nameAddC(); - } - next(); - break; - case Name: - if (parseName_useRef) { - refAddC(); - } else { - nameAddC(); - } - next(); - break; - } - } - return false; -} - -/* - Parse a Nmtoken [7] and store the name in name. -*/ -bool QXmlSimpleReaderPrivate::parseNmtoken() -{ - const signed char Init = 0; - const signed char NameF = 1; - const signed char Name = 2; - const signed char Done = 3; - - const signed char InpNameCh = 0; // NameChar without InpNameBe - const signed char InpUnknown = 1; - - static const signed char table[3][2] = { - /* InpNameCh InpUnknown */ - { NameF, -1 }, // Init - { Name, Done }, // NameF - { Name, Done } // Name - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseNmtoken (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseNmtoken, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case Done: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_LETTEREXPECTED)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseNmtoken, state); - return false; - } - if (determineNameChar(c) == NotName) { - input = InpUnknown; - } else { - input = InpNameCh; - } - state = table[state][input]; - - switch (state) { - case NameF: - nameClear(); - nameAddC(); - next(); - break; - case Name: - nameAddC(); - next(); - break; - } - } - return false; -} - -/* - Parse a Reference [67]. - - parseReference_charDataRead is set to true if the reference must not be - parsed. The character(s) which the reference mapped to are appended to - string. The head stands on the first character after the reference. - - parseReference_charDataRead is set to false if the reference must be parsed. - The charachter(s) which the reference mapped to are inserted at the reference - position. The head stands on the first character of the replacement). -*/ -bool QXmlSimpleReaderPrivate::parseReference() -{ - // temporary variables (only used in very local context, so they don't - // interfere with incremental parsing) - uint tmp; - bool ok; - - const signed char Init = 0; - const signed char SRef = 1; // start of a reference - const signed char ChRef = 2; // parse CharRef - const signed char ChDec = 3; // parse CharRef decimal - const signed char ChHexS = 4; // start CharRef hexadecimal - const signed char ChHex = 5; // parse CharRef hexadecimal - const signed char Name = 6; // parse name - const signed char DoneD = 7; // done CharRef decimal - const signed char DoneH = 8; // done CharRef hexadecimal - const signed char DoneN = 9; // done EntityRef - - const signed char InpAmp = 0; // & - const signed char InpSemi = 1; // ; - const signed char InpHash = 2; // # - const signed char InpX = 3; // x - const signed char InpNum = 4; // 0-9 - const signed char InpHex = 5; // a-f A-F - const signed char InpUnknown = 6; - - static const signed char table[8][7] = { - /* InpAmp InpSemi InpHash InpX InpNum InpHex InpUnknown */ - { SRef, -1, -1, -1, -1, -1, -1 }, // Init - { -1, -1, ChRef, Name, Name, Name, Name }, // SRef - { -1, -1, -1, ChHexS, ChDec, -1, -1 }, // ChRef - { -1, DoneD, -1, -1, ChDec, -1, -1 }, // ChDec - { -1, -1, -1, -1, ChHex, ChHex, -1 }, // ChHexS - { -1, DoneH, -1, -1, ChHex, ChHex, -1 }, // ChHex - { -1, DoneN, -1, -1, -1, -1, -1 } // Name - }; - signed char state; - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - parseReference_charDataRead = false; - state = Init; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseReference (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseReference, state); - return false; - } - } - } - - for (;;) { - switch (state) { - case DoneD: - return true; - case DoneH: - return true; - case DoneN: - return true; - case -1: - // Error - reportParseError(QLatin1String(XMLERR_ERRORPARSINGREFERENCE)); - return false; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseReference, state); - return false; - } - if (c.row()) { - input = InpUnknown; - } else if (c.cell() == '&') { - input = InpAmp; - } else if (c.cell() == ';') { - input = InpSemi; - } else if (c.cell() == '#') { - input = InpHash; - } else if (c.cell() == 'x') { - input = InpX; - } else if ('0' <= c.cell() && c.cell() <= '9') { - input = InpNum; - } else if ('a' <= c.cell() && c.cell() <= 'f') { - input = InpHex; - } else if ('A' <= c.cell() && c.cell() <= 'F') { - input = InpHex; - } else { - input = InpUnknown; - } - state = table[state][input]; - - switch (state) { - case SRef: - refClear(); - next(); - break; - case ChRef: - next(); - break; - case ChDec: - refAddC(); - next(); - break; - case ChHexS: - next(); - break; - case ChHex: - refAddC(); - next(); - break; - case Name: - // read the name into the ref - parseName_useRef = true; - if (!parseName()) { - parseFailed(&QXmlSimpleReaderPrivate::parseReference, state); - return false; - } - break; - case DoneD: - tmp = ref().toUInt(&ok, 10); - if (ok) { - if (tmp > 0xffff) { - stringAddC(QChar::highSurrogate(tmp)); - stringAddC(QChar::lowSurrogate(tmp)); - } else { - stringAddC(QChar(tmp)); - } - } else { - reportParseError(QLatin1String(XMLERR_ERRORPARSINGREFERENCE)); - return false; - } - parseReference_charDataRead = true; - next(); - break; - case DoneH: - tmp = ref().toUInt(&ok, 16); - if (ok) { - if (tmp > 0xffff) { - stringAddC(QChar::highSurrogate(tmp)); - stringAddC(QChar::lowSurrogate(tmp)); - } else { - stringAddC(QChar(tmp)); - } - } else { - reportParseError(QLatin1String(XMLERR_ERRORPARSINGREFERENCE)); - return false; - } - parseReference_charDataRead = true; - next(); - break; - case DoneN: - if (!processReference()) - return false; - next(); - break; - } - } - return false; -} - -/* - Helper function for parseReference() -*/ -bool QXmlSimpleReaderPrivate::processReference() -{ - QString reference = ref(); - if (reference == QLatin1String("amp")) { - if (parseReference_context == InEntityValue) { - // Bypassed - stringAddC(QLatin1Char('&')); stringAddC(QLatin1Char('a')); stringAddC(QLatin1Char('m')); stringAddC(QLatin1Char('p')); stringAddC(QLatin1Char(';')); - } else { - // Included or Included in literal - stringAddC(QLatin1Char('&')); - } - parseReference_charDataRead = true; - } else if (reference == QLatin1String("lt")) { - if (parseReference_context == InEntityValue) { - // Bypassed - stringAddC(QLatin1Char('&')); stringAddC(QLatin1Char('l')); stringAddC(QLatin1Char('t')); stringAddC(QLatin1Char(';')); - } else { - // Included or Included in literal - stringAddC(QLatin1Char('<')); - } - parseReference_charDataRead = true; - } else if (reference == QLatin1String("gt")) { - if (parseReference_context == InEntityValue) { - // Bypassed - stringAddC(QLatin1Char('&')); stringAddC(QLatin1Char('g')); stringAddC(QLatin1Char('t')); stringAddC(QLatin1Char(';')); - } else { - // Included or Included in literal - stringAddC(QLatin1Char('>')); - } - parseReference_charDataRead = true; - } else if (reference == QLatin1String("apos")) { - if (parseReference_context == InEntityValue) { - // Bypassed - stringAddC(QLatin1Char('&')); stringAddC(QLatin1Char('a')); stringAddC(QLatin1Char('p')); stringAddC(QLatin1Char('o')); stringAddC(QLatin1Char('s')); stringAddC(QLatin1Char(';')); - } else { - // Included or Included in literal - stringAddC(QLatin1Char('\'')); - } - parseReference_charDataRead = true; - } else if (reference == QLatin1String("quot")) { - if (parseReference_context == InEntityValue) { - // Bypassed - stringAddC(QLatin1Char('&')); stringAddC(QLatin1Char('q')); stringAddC(QLatin1Char('u')); stringAddC(QLatin1Char('o')); stringAddC(QLatin1Char('t')); stringAddC(QLatin1Char(';')); - } else { - // Included or Included in literal - stringAddC(QLatin1Char('"')); - } - parseReference_charDataRead = true; - } else { - QMap::Iterator it; - it = entities.find(reference); - if (it != entities.end()) { - // "Internal General" - switch (parseReference_context) { - case InContent: - // Included - if (!insertXmlRef(*it, reference, false)) - return false; - parseReference_charDataRead = false; - break; - case InAttributeValue: - // Included in literal - if (!insertXmlRef(*it, reference, true)) - return false; - parseReference_charDataRead = false; - break; - case InEntityValue: - { - // Bypassed - stringAddC(QLatin1Char('&')); - for (int i=0; i<(int)reference.length(); i++) { - stringAddC(reference[i]); - } - stringAddC(QLatin1Char(';')); - parseReference_charDataRead = true; - } - break; - case InDTD: - // Forbidden - parseReference_charDataRead = false; - reportParseError(QLatin1String(XMLERR_INTERNALGENERALENTITYINDTD)); - return false; - } - } else { - QMap::Iterator itExtern; - itExtern = externEntities.find(reference); - if (itExtern == externEntities.end()) { - // entity not declared - // ### check this case for conformance - if (parseReference_context == InEntityValue) { - // Bypassed - stringAddC(QLatin1Char('&')); - for (int i=0; i<(int)reference.length(); i++) { - stringAddC(reference[i]); - } - stringAddC(QLatin1Char(';')); - parseReference_charDataRead = true; - } else { - // if we have some char data read, report it now - if (parseReference_context == InContent) { - if (contentCharDataRead) { - if (reportWhitespaceCharData || !string().simplified().isEmpty()) { - if (contentHnd != nullptr && !contentHnd->characters(string())) { - reportParseError(contentHnd->errorString()); - return false; - } - } - stringClear(); - contentCharDataRead = false; - } - } - - if (contentHnd) { - skipped_entity_in_content = parseReference_context == InContent; - if (!contentHnd->skippedEntity(reference)) { - skipped_entity_in_content = false; - reportParseError(contentHnd->errorString()); - return false; // error - } - skipped_entity_in_content = false; - } - } - } else if ((*itExtern).notation.isNull()) { - // "External Parsed General" - switch (parseReference_context) { - case InContent: - { - // Included if validating - bool skipIt = true; - if (entityRes) { -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - QXmlInputSource *ret = nullptr; -QT_WARNING_POP - if (!entityRes->resolveEntity((*itExtern).publicId, (*itExtern).systemId, ret)) { - delete ret; - reportParseError(entityRes->errorString()); - return false; - } - if (ret) { - QString xmlRefString; - QString buffer = ret->data(); - while (!buffer.isEmpty()) { - xmlRefString += buffer; - ret->fetchData(); - buffer = ret->data(); - } - - delete ret; - if (!stripTextDecl(xmlRefString)) { - reportParseError(QLatin1String(XMLERR_ERRORINTEXTDECL)); - return false; - } - if (!insertXmlRef(xmlRefString, reference, false)) - return false; - skipIt = false; - } - } - if (skipIt && contentHnd) { - skipped_entity_in_content = true; - if (!contentHnd->skippedEntity(reference)) { - skipped_entity_in_content = false; - reportParseError(contentHnd->errorString()); - return false; // error - } - skipped_entity_in_content = false; - } - parseReference_charDataRead = false; - } break; - case InAttributeValue: - // Forbidden - parseReference_charDataRead = false; - reportParseError(QLatin1String(XMLERR_EXTERNALGENERALENTITYINAV)); - return false; - case InEntityValue: - { - // Bypassed - stringAddC(QLatin1Char('&')); - for (int i=0; i<(int)reference.length(); i++) { - stringAddC(reference[i]); - } - stringAddC(QLatin1Char(';')); - parseReference_charDataRead = true; - } - break; - case InDTD: - // Forbidden - parseReference_charDataRead = false; - reportParseError(QLatin1String(XMLERR_EXTERNALGENERALENTITYINDTD)); - return false; - } - } else { - // "Unparsed" - // ### notify for "Occurs as Attribute Value" missing (but this is no refence, anyway) - // Forbidden - parseReference_charDataRead = false; - reportParseError(QLatin1String(XMLERR_UNPARSEDENTITYREFERENCE)); - return false; // error - } - } - } - return true; // no error -} - - -/* - Parses over a simple string. - - After the string was successfully parsed, the head is on the first - character after the string. -*/ -bool QXmlSimpleReaderPrivate::parseString() -{ - const signed char InpCharExpected = 0; // the character that was expected - const signed char InpUnknown = 1; - - signed char state; // state in this function is the position in the string s - signed char input; - - if (parseStack == nullptr || parseStack->isEmpty()) { - Done = parseString_s.length(); - state = 0; - } else { - state = parseStack->pop().state; -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: parseString (cont) in state %d", state); -#endif - if (!parseStack->isEmpty()) { - ParseFunction function = parseStack->top().function; - if (function == &QXmlSimpleReaderPrivate::eat_ws) { - parseStack->pop(); -#if defined(QT_QXML_DEBUG) - qDebug("QXmlSimpleReader: eat_ws (cont)"); -#endif - } - if (!(this->*function)()) { - parseFailed(&QXmlSimpleReaderPrivate::parseString, state); - return false; - } - } - } - - for (;;) { - if (state == Done) { - return true; - } - - if (atEnd()) { - unexpectedEof(&QXmlSimpleReaderPrivate::parseString, state); - return false; - } - if (c == parseString_s[(int)state]) { - input = InpCharExpected; - } else { - input = InpUnknown; - } - if (input == InpCharExpected) { - state++; - } else { - // Error - reportParseError(QLatin1String(XMLERR_UNEXPECTEDCHARACTER)); - return false; - } - - next(); - } - return false; -} - -/* - This private function inserts and reports an entity substitution. The - substituted string is \a data and the name of the entity reference is \a - name. If \a inLiteral is true, the entity is IncludedInLiteral (i.e., " and ' - must be quoted. Otherwise they are not quoted. - - This function returns \c false on error. -*/ -bool QXmlSimpleReaderPrivate::insertXmlRef(const QString &data, const QString &name, bool inLiteral) -{ - if (inLiteral) { - QString tmp = data; - xmlRefStack.push(XmlRef(name, tmp.replace(QLatin1Char('\"'), - QLatin1String(""")).replace(QLatin1Char('\''), QLatin1String("'")))); - } else { - xmlRefStack.push(XmlRef(name, data)); - } - int n = qMax(parameterEntities.count(), entities.count()); - if (xmlRefStack.count() > n+1) { - // recursive entities - reportParseError(QLatin1String(XMLERR_RECURSIVEENTITIES)); - return false; - } - if (reportEntities && lexicalHnd) { - if (!lexicalHnd->startEntity(name)) { - reportParseError(lexicalHnd->errorString()); - return false; - } - } - return true; -} - -/* - This private function moves the cursor to the next character. -*/ -void QXmlSimpleReaderPrivate::next() -{ - int count = xmlRefStack.size(); - while (count != 0) { - if (xmlRefStack.top().isEmpty()) { - xmlRefStack.pop_back(); - count--; - } else { - c = xmlRefStack.top().next(); - return; - } - } - - // the following could be written nicer, but since it is a time-critical - // function, rather optimize for speed - ushort uc = c.unicode(); - c = inputSource->next(); - // If we are not incremental parsing, we just skip over EndOfData chars to give the - // parser an uninterrupted stream of document chars. - if (c == QXmlInputSource::EndOfData && parseStack == nullptr) - c = inputSource->next(); - if (uc == '\n') { - lineNr++; - columnNr = -1; - } else if (uc == '\r') { - if (c != QLatin1Char('\n')) { - lineNr++; - columnNr = -1; - } - } - ++columnNr; -} - -/* - This private function moves the cursor to the next non-whitespace character. - This function does not move the cursor if the actual cursor position is a - non-whitespace charcter. - - Returns \c false when you use incremental parsing and this function reaches EOF - with reading only whitespace characters. In this case it also poplulates the - parseStack with useful information. In all other cases, this function returns - true. -*/ -bool QXmlSimpleReaderPrivate::eat_ws() -{ - while (!atEnd()) { - if (!is_S(c)) { - return true; - } - next(); - } - if (parseStack != nullptr) { - unexpectedEof(&QXmlSimpleReaderPrivate::eat_ws, 0); - return false; - } - return true; -} - -bool QXmlSimpleReaderPrivate::next_eat_ws() -{ - next(); - return eat_ws(); -} - - -/* - This private function initializes the reader. \a i is the input source to - read the data from. -*/ -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -void QXmlSimpleReaderPrivate::init(const QXmlInputSource *i) -{ - lineNr = 0; - columnNr = -1; - inputSource = const_cast(i); - initData(); - - externParameterEntities.clear(); - parameterEntities.clear(); - externEntities.clear(); - entities.clear(); - - clear(tags); - - doctype.clear(); - xmlVersion.clear(); - encoding.clear(); - standalone = QXmlSimpleReaderPrivate::Unknown; - error.clear(); -} -QT_WARNING_POP - -/* - This private function initializes the XML data related variables. Especially, - it reads the data from the input source. -*/ -void QXmlSimpleReaderPrivate::initData() -{ - c = QXmlInputSource::EndOfData; - xmlRefStack.clear(); - next(); -} - -/* - Returns \c true if a entity with the name \a e exists, - otherwise returns \c false. -*/ -bool QXmlSimpleReaderPrivate::entityExist(const QString& e) const -{ - if ( parameterEntities.find(e) == parameterEntities.end() && - externParameterEntities.find(e) == externParameterEntities.end() && - externEntities.find(e) == externEntities.end() && - entities.find(e) == entities.end()) { - return false; - } else { - return true; - } -} - -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -void QXmlSimpleReaderPrivate::reportParseError(const QString& error) -{ - this->error = error; - if (errorHnd) { - if (this->error.isNull()) { - const QXmlParseException ex(QLatin1String(XMLERR_OK), columnNr+1, lineNr+1, - thisPublicId, thisSystemId); - errorHnd->fatalError(ex); - } else { - const QXmlParseException ex(this->error, columnNr+1, lineNr+1, - thisPublicId, thisSystemId); - errorHnd->fatalError(ex); - } - } -} -QT_WARNING_POP - -/* - This private function is called when a parsing function encounters an - unexpected EOF. It decides what to do (depending on incremental parsing or - not). \a where is a pointer to the function where the error occurred and \a - state is the parsing state in this function. -*/ -void QXmlSimpleReaderPrivate::unexpectedEof(ParseFunction where, int state) -{ - if (parseStack == nullptr) { - reportParseError(QLatin1String(XMLERR_UNEXPECTEDEOF)); - } else { - if (c == QXmlInputSource::EndOfDocument) { - reportParseError(QLatin1String(XMLERR_UNEXPECTEDEOF)); - } else { - pushParseState(where, state); - } - } -} - -/* - This private function is called when a parse...() function returned false. It - determines if there was an error or if incremental parsing simply went out of - data and does the right thing for the case. \a where is a pointer to the - function where the error occurred and \a state is the parsing state in this - function. -*/ -void QXmlSimpleReaderPrivate::parseFailed(ParseFunction where, int state) -{ - if (parseStack != nullptr && error.isNull()) { - pushParseState(where, state); - } -} - -/* - This private function pushes the function pointer \a function and state \a - state to the parse stack. This is used when you are doing an incremental - parsing and reach the end of file too early. - - Only call this function when d->parseStack!=0. -*/ -void QXmlSimpleReaderPrivate::pushParseState(ParseFunction function, int state) -{ - QXmlSimpleReaderPrivate::ParseState ps; - ps.function = function; - ps.state = state; - parseStack->push(ps); -} - -inline static void updateValue(QString &value, const QChar *array, int &arrayPos, int &valueLen) -{ - value.resize(valueLen + arrayPos); - memcpy(value.data() + valueLen, array, arrayPos * sizeof(QChar)); - valueLen += arrayPos; - arrayPos = 0; -} - -// use buffers instead of QString::operator+= when single characters are read -const QString& QXmlSimpleReaderPrivate::string() -{ - updateValue(stringValue, stringArray, stringArrayPos, stringValueLen); - return stringValue; -} -const QString& QXmlSimpleReaderPrivate::name() -{ - updateValue(nameValue, nameArray, nameArrayPos, nameValueLen); - return nameValue; -} -const QString& QXmlSimpleReaderPrivate::ref() -{ - updateValue(refValue, refArray, refArrayPos, refValueLen); - return refValue; -} - -void QXmlSimpleReaderPrivate::stringAddC(QChar ch) -{ - if (stringArrayPos == 256) - updateValue(stringValue, stringArray, stringArrayPos, stringValueLen); - stringArray[stringArrayPos++] = ch; -} -void QXmlSimpleReaderPrivate::nameAddC(QChar ch) -{ - if (nameArrayPos == 256) - updateValue(nameValue, nameArray, nameArrayPos, nameValueLen); - nameArray[nameArrayPos++] = ch; -} -void QXmlSimpleReaderPrivate::refAddC(QChar ch) -{ - if (refArrayPos == 256) - updateValue(refValue, refArray, refArrayPos, refValueLen); - refArray[refArrayPos++] = ch; -} -QT_END_NAMESPACE - -#endif // QT_DEPRECATED_SINCE(5, 15) diff --git a/src/xml/sax/qxml.h b/src/xml/sax/qxml.h deleted file mode 100644 index 6e19be193f..0000000000 --- a/src/xml/sax/qxml.h +++ /dev/null @@ -1,469 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtXml module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef QXML_H -#define QXML_H - -#if 0 -// This is needed because of QTBUG-80347 -#pragma qt_class(QXmlNamespaceSupport) -#pragma qt_class(QXmlAttributes) -#pragma qt_class(QXmlInputSource) -#pragma qt_class(QXmlParseException) -#pragma qt_class(QXmlReader) -#pragma qt_class(QXmlSimpleReader) -#pragma qt_class(QXmlLocator) -#pragma qt_class(QXmlContentHandler) -#pragma qt_class(QXmlErrorHandler) -#pragma qt_class(QXmlDTDHandler) -#pragma qt_class(QXmlEntityResolver) -#pragma qt_class(QXmlLexicalHandler) -#pragma qt_class(QXmlDeclHandler) -#pragma qt_class(QXmlDefaultHandler) -#endif - -#include - -#include -#include -#include -#include -#include -#include -#include - -#if QT_DEPRECATED_SINCE(5, 15) - -QT_BEGIN_NAMESPACE - -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - -class QXmlNamespaceSupport; -class QXmlAttributes; -class QXmlContentHandler; -class QXmlDefaultHandler; -class QXmlDTDHandler; -class QXmlEntityResolver; -class QXmlErrorHandler; -class QXmlLexicalHandler; -class QXmlDeclHandler; -class QXmlInputSource; -class QXmlLocator; -class QXmlNamespaceSupport; -class QXmlParseException; - -class QXmlReader; -class QXmlSimpleReader; - -class QXmlSimpleReaderPrivate; -class QXmlNamespaceSupportPrivate; -class QXmlAttributesPrivate; -class QXmlInputSourcePrivate; -class QXmlParseExceptionPrivate; -class QXmlLocatorPrivate; -class QXmlDefaultHandlerPrivate; - -// -// SAX Namespace Support -// - -class QT_DEPRECATED_VERSION(5, 15) Q_XML_EXPORT QXmlNamespaceSupport -{ -public: - QXmlNamespaceSupport(); - ~QXmlNamespaceSupport(); - - void setPrefix(const QString&, const QString&); - - QString prefix(const QString&) const; - QString uri(const QString&) const; - void splitName(const QString&, QString&, QString&) const; - void processName(const QString&, bool, QString&, QString&) const; - QStringList prefixes() const; - QStringList prefixes(const QString&) const; - - void pushContext(); - void popContext(); - void reset(); - -private: - QXmlNamespaceSupportPrivate *d; - - friend class QXmlSimpleReaderPrivate; - Q_DISABLE_COPY(QXmlNamespaceSupport) -}; - - -// -// SAX Attributes -// - -// Although deprecated warnings are disabled, the intel icc 18 compiler -// still complains during the instantiation of the templated qSwap() call below -// (with the parameter QXmlAttributes::AttributeList) when QXmlAttributes is -// deprecated. This makes the build fail when warnings are treated as errors. -// To workaround this, deprecated only the constructor. -class Q_XML_EXPORT QXmlAttributes -{ -public: - QT_DEPRECATED_VERSION(5, 15) QXmlAttributes(); - QXmlAttributes(const QXmlAttributes &) = default; - QXmlAttributes(QXmlAttributes &&) noexcept = default; - QXmlAttributes &operator=(const QXmlAttributes &) = default; - QXmlAttributes &operator=(QXmlAttributes &&) noexcept = default; - - ~QXmlAttributes(); - - void swap(QXmlAttributes &other) noexcept - { - qSwap(attList, other.attList); - qSwap(d, other.d); - } - - int index(const QString& qName) const; - int index(QLatin1String qName) const; - int index(const QString& uri, const QString& localPart) const; - int length() const; - int count() const; - QString localName(int index) const; - QString qName(int index) const; - QString uri(int index) const; - QString type(int index) const; - QString type(const QString& qName) const; - QString type(const QString& uri, const QString& localName) const; - QString value(int index) const; - QString value(const QString& qName) const; - QString value(QLatin1String qName) const; - QString value(const QString& uri, const QString& localName) const; - - void clear(); - void append(const QString &qName, const QString &uri, const QString &localPart, const QString &value); - -private: - struct Attribute { - QString qname, uri, localname, value; - }; - friend class QTypeInfo; - typedef QList AttributeList; - AttributeList attList; - - QXmlAttributesPrivate *d; -}; - -Q_DECLARE_TYPEINFO(QXmlAttributes::Attribute, Q_MOVABLE_TYPE); -Q_DECLARE_SHARED(QXmlAttributes) - -// -// SAX Input Source -// - -class QT_DEPRECATED_VERSION(5, 15) Q_XML_EXPORT QXmlInputSource -{ -public: - QXmlInputSource(); - explicit QXmlInputSource(QIODevice *dev); - virtual ~QXmlInputSource(); - - virtual void setData(const QString& dat); - virtual void setData(const QByteArray& dat); - virtual void fetchData(); - virtual QString data() const; - virtual QChar next(); - virtual void reset(); - - static const char16_t EndOfData; - static const char16_t EndOfDocument; - -protected: - virtual QString fromRawData(const QByteArray &data, bool beginning = false); - -private: - void init(); - QXmlInputSourcePrivate *d; -}; - -// -// SAX Exception Classes -// - -class QT_DEPRECATED_VERSION(5, 15) Q_XML_EXPORT QXmlParseException -{ -public: - explicit QXmlParseException(const QString &name = QString(), int c = -1, int l = -1, - const QString &p = QString(), const QString &s = QString()); - QXmlParseException(const QXmlParseException &other); - ~QXmlParseException(); - - int columnNumber() const; - int lineNumber() const; - QString publicId() const; - QString systemId() const; - QString message() const; - -private: - QScopedPointer d; -}; - - -// -// XML Reader -// - -class QT_DEPRECATED_VERSION_X(5, 15, "Use QXmlStreamReader") Q_XML_EXPORT QXmlReader -{ -public: - virtual ~QXmlReader() {} - virtual bool feature(const QString& name, bool *ok = nullptr) const = 0; - virtual void setFeature(const QString& name, bool value) = 0; - virtual bool hasFeature(const QString& name) const = 0; - virtual void* property(const QString& name, bool *ok = nullptr) const = 0; - virtual void setProperty(const QString& name, void* value) = 0; - virtual bool hasProperty(const QString& name) const = 0; - virtual void setEntityResolver(QXmlEntityResolver* handler) = 0; - virtual QXmlEntityResolver* entityResolver() const = 0; - virtual void setDTDHandler(QXmlDTDHandler* handler) = 0; - virtual QXmlDTDHandler* DTDHandler() const = 0; - virtual void setContentHandler(QXmlContentHandler* handler) = 0; - virtual QXmlContentHandler* contentHandler() const = 0; - virtual void setErrorHandler(QXmlErrorHandler* handler) = 0; - virtual QXmlErrorHandler* errorHandler() const = 0; - virtual void setLexicalHandler(QXmlLexicalHandler* handler) = 0; - virtual QXmlLexicalHandler* lexicalHandler() const = 0; - virtual void setDeclHandler(QXmlDeclHandler* handler) = 0; - virtual QXmlDeclHandler* declHandler() const = 0; - virtual bool parse(const QXmlInputSource& input) = 0; - virtual bool parse(const QXmlInputSource* input) = 0; -}; - -class QT_DEPRECATED_VERSION_X(5, 15, "Use QXmlStreamReader") Q_XML_EXPORT QXmlSimpleReader - : public QXmlReader -{ -public: - QXmlSimpleReader(); - virtual ~QXmlSimpleReader(); - - bool feature(const QString& name, bool *ok = nullptr) const override; - void setFeature(const QString& name, bool value) override; - bool hasFeature(const QString& name) const override; - - void* property(const QString& name, bool *ok = nullptr) const override; - void setProperty(const QString& name, void* value) override; - bool hasProperty(const QString& name) const override; - - void setEntityResolver(QXmlEntityResolver* handler) override; - QXmlEntityResolver* entityResolver() const override; - void setDTDHandler(QXmlDTDHandler* handler) override; - QXmlDTDHandler* DTDHandler() const override; - void setContentHandler(QXmlContentHandler* handler) override; - QXmlContentHandler* contentHandler() const override; - void setErrorHandler(QXmlErrorHandler* handler) override; - QXmlErrorHandler* errorHandler() const override; - void setLexicalHandler(QXmlLexicalHandler* handler) override; - QXmlLexicalHandler* lexicalHandler() const override; - void setDeclHandler(QXmlDeclHandler* handler) override; - QXmlDeclHandler* declHandler() const override; - - bool parse(const QXmlInputSource& input) override; - bool parse(const QXmlInputSource* input) override; - virtual bool parse(const QXmlInputSource* input, bool incremental); - virtual bool parseContinue(); - -private: - Q_DISABLE_COPY(QXmlSimpleReader) - Q_DECLARE_PRIVATE(QXmlSimpleReader) - QScopedPointer d_ptr; - - friend class QXmlSimpleReaderLocator; - friend class QDomHandler; -}; - -// -// SAX Locator -// - -class QT_DEPRECATED_VERSION(5, 15) Q_XML_EXPORT QXmlLocator -{ -public: - QXmlLocator(); - virtual ~QXmlLocator(); - - virtual int columnNumber() const = 0; - virtual int lineNumber() const = 0; -// QString getPublicId() const -// QString getSystemId() const -}; - -// -// SAX handler classes -// - -class QT_DEPRECATED_VERSION(5, 15) Q_XML_EXPORT QXmlContentHandler -{ -public: - virtual ~QXmlContentHandler() {} - virtual void setDocumentLocator(QXmlLocator* locator) = 0; - virtual bool startDocument() = 0; - virtual bool endDocument() = 0; - virtual bool startPrefixMapping(const QString& prefix, const QString& uri) = 0; - virtual bool endPrefixMapping(const QString& prefix) = 0; - virtual bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) = 0; - virtual bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName) = 0; - virtual bool characters(const QString& ch) = 0; - virtual bool ignorableWhitespace(const QString& ch) = 0; - virtual bool processingInstruction(const QString& target, const QString& data) = 0; - virtual bool skippedEntity(const QString& name) = 0; - virtual QString errorString() const = 0; -}; - -class QT_DEPRECATED_VERSION(5, 15) Q_XML_EXPORT QXmlErrorHandler -{ -public: - virtual ~QXmlErrorHandler() {} - virtual bool warning(const QXmlParseException& exception) = 0; - virtual bool error(const QXmlParseException& exception) = 0; - virtual bool fatalError(const QXmlParseException& exception) = 0; - virtual QString errorString() const = 0; -}; - -class QT_DEPRECATED_VERSION(5, 15) Q_XML_EXPORT QXmlDTDHandler -{ -public: - virtual ~QXmlDTDHandler() {} - virtual bool notationDecl(const QString& name, const QString& publicId, const QString& systemId) = 0; - virtual bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) = 0; - virtual QString errorString() const = 0; -}; - -class QT_DEPRECATED_VERSION(5, 15) Q_XML_EXPORT QXmlEntityResolver -{ -public: - virtual ~QXmlEntityResolver() {} - virtual bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) = 0; - virtual QString errorString() const = 0; -}; - -class QT_DEPRECATED_VERSION(5, 15) Q_XML_EXPORT QXmlLexicalHandler -{ -public: - virtual ~QXmlLexicalHandler() {} - virtual bool startDTD(const QString& name, const QString& publicId, const QString& systemId) = 0; - virtual bool endDTD() = 0; - virtual bool startEntity(const QString& name) = 0; - virtual bool endEntity(const QString& name) = 0; - virtual bool startCDATA() = 0; - virtual bool endCDATA() = 0; - virtual bool comment(const QString& ch) = 0; - virtual QString errorString() const = 0; -}; - -class QT_DEPRECATED_VERSION(5, 15) Q_XML_EXPORT QXmlDeclHandler -{ -public: - virtual ~QXmlDeclHandler() {} - virtual bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) = 0; - virtual bool internalEntityDecl(const QString& name, const QString& value) = 0; - virtual bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) = 0; - virtual QString errorString() const = 0; - // ### Conform to SAX by adding elementDecl -}; - -class QT_DEPRECATED_VERSION(5, 15) Q_XML_EXPORT QXmlDefaultHandler : public QXmlContentHandler, - public QXmlErrorHandler, - public QXmlDTDHandler, - public QXmlEntityResolver, - public QXmlLexicalHandler, - public QXmlDeclHandler -{ -public: - QXmlDefaultHandler(); - virtual ~QXmlDefaultHandler(); - - void setDocumentLocator(QXmlLocator* locator) override; - bool startDocument() override; - bool endDocument() override; - bool startPrefixMapping(const QString& prefix, const QString& uri) override; - bool endPrefixMapping(const QString& prefix) override; - bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) override; - bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName) override; - bool characters(const QString& ch) override; - bool ignorableWhitespace(const QString& ch) override; - bool processingInstruction(const QString& target, const QString& data) override; - bool skippedEntity(const QString& name) override; - - bool warning(const QXmlParseException& exception) override; - bool error(const QXmlParseException& exception) override; - bool fatalError(const QXmlParseException& exception) override; - - bool notationDecl(const QString& name, const QString& publicId, const QString& systemId) override; - bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) override; - - bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) override; - - bool startDTD(const QString& name, const QString& publicId, const QString& systemId) override; - bool endDTD() override; - bool startEntity(const QString& name) override; - bool endEntity(const QString& name) override; - bool startCDATA() override; - bool endCDATA() override; - bool comment(const QString& ch) override; - - bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) override; - bool internalEntityDecl(const QString& name, const QString& value) override; - bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) override; - - QString errorString() const override; - -private: - QXmlDefaultHandlerPrivate *d; - Q_DISABLE_COPY(QXmlDefaultHandler) -}; - -// inlines - -inline int QXmlAttributes::count() const -{ return length(); } - -QT_WARNING_POP - -QT_END_NAMESPACE - -#endif // QT_DEPRECATED_SINCE(5, 15) - -#endif // QXML_H diff --git a/src/xml/sax/qxml_p.h b/src/xml/sax/qxml_p.h deleted file mode 100644 index 4f5568f214..0000000000 --- a/src/xml/sax/qxml_p.h +++ /dev/null @@ -1,328 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtXml module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef QXML_P_H -#define QXML_P_H - -#include -#include -#include -#include - -#include - -#if QT_DEPRECATED_SINCE(5, 15) - -QT_BEGIN_NAMESPACE - -// -// W A R N I N G -// ------------- -// -// This file is not part of the Qt API. It exists for the convenience of -// qxml.cpp and qdom.cpp. This header file may change from version to version without -// notice, or even be removed. -// -// We mean it. -// - -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - -class QXmlSimpleReaderPrivate -{ -public: - ~QXmlSimpleReaderPrivate(); -private: - // functions - QXmlSimpleReaderPrivate(QXmlSimpleReader *reader); - void initIncrementalParsing(); - - // used to determine if elements are correctly nested - std::stack tags; - - // used by parseReference() and parsePEReference() - enum EntityRecognitionContext { InContent, InAttributeValue, InEntityValue, InDTD }; - - // used for entity declarations - struct ExternParameterEntity - { - ExternParameterEntity() {} - ExternParameterEntity(const QString &p, const QString &s) - : publicId(p), systemId(s) {} - QString publicId; - QString systemId; - - Q_DUMMY_COMPARISON_OPERATOR(ExternParameterEntity) - }; - friend class QTypeInfo; - - struct ExternEntity - { - ExternEntity() {} - ExternEntity(const QString &p, const QString &s, const QString &n) - : publicId(p), systemId(s), notation(n) {} - QString publicId; - QString systemId; - QString notation; - Q_DUMMY_COMPARISON_OPERATOR(ExternEntity) - }; - friend class QTypeInfo; - - QMap externParameterEntities; - QMap parameterEntities; - QMap externEntities; - QMap entities; - - // used for parsing of entity references - struct XmlRef { - XmlRef() - : index(0) {} - XmlRef(const QString &_name, const QString &_value) - : name(_name), value(_value), index(0) {} - bool isEmpty() const { return index == value.length(); } - QChar next() { return value.at(index++); } - QString name; - QString value; - int index; - }; - friend class QTypeInfo; - QStack xmlRefStack; - - // used for standalone declaration - enum Standalone { Yes, No, Unknown }; - - QString doctype; // only used for the doctype - QString xmlVersion; // only used to store the version information - QString encoding; // only used to store the encoding - Standalone standalone; // used to store the value of the standalone declaration - - QString publicId; // used by parseExternalID() to store the public ID - QString systemId; // used by parseExternalID() to store the system ID - - // Since publicId/systemId is used as temporary variables by parseExternalID(), it - // might overwrite the PUBLIC/SYSTEM for the document we're parsing. In effect, we would - // possibly send off an QXmlParseException that has the PUBLIC/SYSTEM of a entity declaration - // instead of those of the current document. - // Hence we have these two variables for storing the document's data. - QString thisPublicId; - QString thisSystemId; - - QString attDeclEName; // use by parseAttlistDecl() - QString attDeclAName; // use by parseAttlistDecl() - - // flags for some features support - bool useNamespaces; - bool useNamespacePrefixes; - bool reportWhitespaceCharData; - bool reportEntities; - - // used to build the attribute list - QXmlAttributes attList; - - // used in QXmlSimpleReader::parseContent() to decide whether character - // data was read - bool contentCharDataRead; - // Hack for letting QDom know where the skipped entity occurred - bool skipped_entity_in_content; - - // helper classes - QScopedPointer locator; - QXmlNamespaceSupport namespaceSupport; - - // error string - QString error; - - // arguments for parse functions (this is needed to allow incremental - // parsing) - bool parsePI_xmldecl; - bool parseName_useRef; - bool parseReference_charDataRead; - EntityRecognitionContext parseReference_context; - bool parseExternalID_allowPublicID; - EntityRecognitionContext parsePEReference_context; - QString parseString_s; - - // for incremental parsing - struct ParseState { - typedef bool (QXmlSimpleReaderPrivate::*ParseFunction)(); - ParseFunction function; - int state; - }; - friend class QTypeInfo; - QStack *parseStack; - - // used in parseProlog() - bool xmldecl_possible; - bool doctype_read; - - // used in parseDoctype() - bool startDTDwasReported; - - // used in parseString() - signed char Done; - - - // variables - QXmlContentHandler *contentHnd; - QXmlErrorHandler *errorHnd; - QXmlDTDHandler *dtdHnd; - QXmlEntityResolver *entityRes; - QXmlLexicalHandler *lexicalHnd; - QXmlDeclHandler *declHnd; - - QXmlInputSource *inputSource; - - QChar c; // the character at reading position - int lineNr; // number of line - int columnNr; // position in line - - QChar nameArray[256]; // only used for names - QString nameValue; // only used for names - int nameArrayPos; - int nameValueLen; - QChar refArray[256]; // only used for references - QString refValue; // only used for references - int refArrayPos; - int refValueLen; - QChar stringArray[256]; // used for any other strings that are parsed - QString stringValue; // used for any other strings that are parsed - int stringArrayPos; - int stringValueLen; - QString emptyStr; - - QHash literalEntitySizes; - // The entity at (QMap) times. - QHash > referencesToOtherEntities; - QHash expandedSizes; - // The limit to the amount of times the DTD parsing functions can be called - // for the DTD currently being parsed. - static const int dtdRecursionLimit = 2; - // The maximum amount of characters an entity value may contain, after expansion. - static const int entityCharacterLimit = 4096; - - const QString &string(); - void stringClear(); - void stringAddC(QChar); - inline void stringAddC() { stringAddC(c); } - const QString &name(); - void nameClear(); - void nameAddC(QChar); - inline void nameAddC() { nameAddC(c); } - const QString &ref(); - void refClear(); - void refAddC(QChar); - inline void refAddC() { refAddC(c); } - - // private functions - bool eat_ws(); - bool next_eat_ws(); - - void QT_FASTCALL next(); - bool atEnd(); - - void init(const QXmlInputSource* i); - void initData(); - - bool entityExist(const QString&) const; - - bool parseBeginOrContinue(int state, bool incremental); - - bool parseProlog(); - bool parseElement(); - bool processElementEmptyTag(); - bool processElementETagBegin2(); - bool processElementAttribute(); - bool parseMisc(); - bool parseContent(); - - bool parsePI(); - bool parseDoctype(); - bool parseComment(); - - bool parseName(); - bool parseNmtoken(); - bool parseAttribute(); - bool parseReference(); - bool processReference(); - - bool parseExternalID(); - bool parsePEReference(); - bool parseMarkupdecl(); - bool parseAttlistDecl(); - bool parseAttType(); - bool parseAttValue(); - bool parseElementDecl(); - bool parseNotationDecl(); - bool parseChoiceSeq(); - bool parseEntityDecl(); - bool parseEntityValue(); - - bool parseString(); - - bool insertXmlRef(const QString&, const QString&, bool); - - bool reportEndEntities(); - void reportParseError(const QString& error); - - typedef bool (QXmlSimpleReaderPrivate::*ParseFunction) (); - void unexpectedEof(ParseFunction where, int state); - void parseFailed(ParseFunction where, int state); - void pushParseState(ParseFunction function, int state); - - bool isExpandedEntityValueTooLarge(QString *errorMessage); - - Q_DECLARE_PUBLIC(QXmlSimpleReader) - QXmlSimpleReader *q_ptr; - - friend class QXmlSimpleReaderLocator; - friend class QDomHandler; -}; -Q_DECLARE_TYPEINFO(QXmlSimpleReaderPrivate::ParseState, Q_PRIMITIVE_TYPE); -Q_DECLARE_TYPEINFO(QXmlSimpleReaderPrivate::XmlRef, Q_MOVABLE_TYPE); -Q_DECLARE_TYPEINFO(QXmlSimpleReaderPrivate::ExternParameterEntity, Q_MOVABLE_TYPE); -Q_DECLARE_TYPEINFO(QXmlSimpleReaderPrivate::ExternEntity, Q_MOVABLE_TYPE); - -QT_WARNING_POP - -QT_END_NAMESPACE - -#endif // QT_DEPRECATED_SINCE(5, 15) - -#endif // QXML_P_H diff --git a/src/xml/sax/sax.pri b/src/xml/sax/sax.pri deleted file mode 100644 index 5793996898..0000000000 --- a/src/xml/sax/sax.pri +++ /dev/null @@ -1,3 +0,0 @@ -SOURCES += $$PWD/qxml.cpp -HEADERS += $$PWD/qxml_p.h \ - $$PWD/qxml.h diff --git a/src/xml/xml.pro b/src/xml/xml.pro index 31d742d6ea..5474d477e4 100644 --- a/src/xml/xml.pro +++ b/src/xml/xml.pro @@ -12,6 +12,5 @@ HEADERS += qtxmlglobal.h PRECOMPILED_HEADER = include(dom/dom.pri) -include(sax/sax.pri) load(qt_module) diff --git a/tests/auto/corelib/serialization/qxmlstream/tst_qxmlstream.cpp b/tests/auto/corelib/serialization/qxmlstream/tst_qxmlstream.cpp index 7046fe33a6..56b6a91e9b 100644 --- a/tests/auto/corelib/serialization/qxmlstream/tst_qxmlstream.cpp +++ b/tests/auto/corelib/serialization/qxmlstream/tst_qxmlstream.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include #include "qc14n.h" diff --git a/tests/auto/xml/CMakeLists.txt b/tests/auto/xml/CMakeLists.txt index 703cba344d..fe747649a7 100644 --- a/tests/auto/xml/CMakeLists.txt +++ b/tests/auto/xml/CMakeLists.txt @@ -1,4 +1,3 @@ # Generated from xml.pro. add_subdirectory(dom) -add_subdirectory(sax) diff --git a/tests/auto/xml/sax/CMakeLists.txt b/tests/auto/xml/sax/CMakeLists.txt deleted file mode 100644 index dd826d5e4f..0000000000 --- a/tests/auto/xml/sax/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# Generated from sax.pro. - -add_subdirectory(qxml) -if(TARGET Qt::Network) - add_subdirectory(qxmlinputsource) - add_subdirectory(qxmlsimplereader) -endif() diff --git a/tests/auto/xml/sax/qxml/.gitignore b/tests/auto/xml/sax/qxml/.gitignore deleted file mode 100644 index 6506151df0..0000000000 --- a/tests/auto/xml/sax/qxml/.gitignore +++ /dev/null @@ -1 +0,0 @@ -tst_qxml diff --git a/tests/auto/xml/sax/qxml/0x010D.xml b/tests/auto/xml/sax/qxml/0x010D.xml deleted file mode 100644 index 5f2fe4d940..0000000000 --- a/tests/auto/xml/sax/qxml/0x010D.xml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/tests/auto/xml/sax/qxml/CMakeLists.txt b/tests/auto/xml/sax/qxml/CMakeLists.txt deleted file mode 100644 index cca9b95a2f..0000000000 --- a/tests/auto/xml/sax/qxml/CMakeLists.txt +++ /dev/null @@ -1,16 +0,0 @@ -# Generated from qxml.pro. - -##################################################################### -## tst_qxml Test: -##################################################################### - -# Collect test data -list(APPEND test_data "0x010D.xml") - -qt_add_test(tst_qxml - SOURCES - tst_qxml.cpp - PUBLIC_LIBRARIES - Qt::Xml - TESTDATA ${test_data} -) diff --git a/tests/auto/xml/sax/qxml/qxml.pro b/tests/auto/xml/sax/qxml/qxml.pro deleted file mode 100644 index e0b48ad9f5..0000000000 --- a/tests/auto/xml/sax/qxml/qxml.pro +++ /dev/null @@ -1,7 +0,0 @@ -CONFIG += testcase -TARGET = tst_qxml - -SOURCES += tst_qxml.cpp -QT = core xml testlib - -TESTDATA += 0x010D.xml diff --git a/tests/auto/xml/sax/qxml/tst_qxml.cpp b/tests/auto/xml/sax/qxml/tst_qxml.cpp deleted file mode 100644 index 2f00a08fef..0000000000 --- a/tests/auto/xml/sax/qxml/tst_qxml.cpp +++ /dev/null @@ -1,236 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include - -QT_WARNING_DISABLE_DEPRECATED - -#include -#include -#include - -class tst_QXml : public QObject -{ -Q_OBJECT - -private slots: -#if QT_DEPRECATED_SINCE(5, 15) - void getSetCheck(); - void interpretedAs0D() const; -#ifndef QT_NO_EXCEPTIONS - void exception(); -#endif -#endif // QT_DEPRECATED_SINCE(5, 15) -}; - -#if QT_DEPRECATED_SINCE(5, 15) - -class MyXmlEntityResolver : public QXmlEntityResolver -{ -public: - MyXmlEntityResolver() : QXmlEntityResolver() {} - QString errorString() const { return QString(); } - bool resolveEntity(const QString &, const QString &, QXmlInputSource *&) { return false; } -}; - -class MyXmlContentHandler : public QXmlContentHandler -{ -public: - MyXmlContentHandler() : QXmlContentHandler() {} - bool characters(const QString &) { return false; } - bool endDocument() { return false; } - bool endElement(const QString &, const QString &, const QString &) { return false; } - bool endPrefixMapping(const QString &) { return false; } - QString errorString() const { return QString(); } - bool ignorableWhitespace(const QString &) { return false; } - bool processingInstruction(const QString &, const QString &) { return false; } - void setDocumentLocator(QXmlLocator *) { } - bool skippedEntity(const QString &) { return false; } - bool startDocument() { return false; } - bool startElement(const QString &, const QString &, const QString &, const QXmlAttributes &) { return false; } - bool startPrefixMapping(const QString &, const QString &) { return false; } -}; - -class MyXmlErrorHandler : public QXmlErrorHandler -{ -public: - MyXmlErrorHandler() : QXmlErrorHandler() {} - QString errorString() const { return QString(); } - bool error(const QXmlParseException &) { return false; } - bool fatalError(const QXmlParseException &) { return false; } - bool warning(const QXmlParseException &) { return false; } -}; - -class MyXmlLexicalHandler : public QXmlLexicalHandler -{ -public: - MyXmlLexicalHandler() : QXmlLexicalHandler() {} - bool comment(const QString &) { return false; } - bool endCDATA() { return false; } - bool endDTD() { return false; } - bool endEntity(const QString &) { return false; } - QString errorString() const { return QString(); } - bool startCDATA() { return false; } - bool startDTD(const QString &, const QString &, const QString &) { return false; } - bool startEntity(const QString &) { return false; } -}; - -class MyXmlDeclHandler : public QXmlDeclHandler -{ -public: - MyXmlDeclHandler() : QXmlDeclHandler() {} - bool attributeDecl(const QString &, const QString &, const QString &, const QString &, const QString &) { return false; } - QString errorString() const { return QString(); } - bool externalEntityDecl(const QString &, const QString &, const QString &) { return false; } - bool internalEntityDecl(const QString &, const QString &) { return false; } -}; - -// Testing get/set functions -void tst_QXml::getSetCheck() -{ - QXmlSimpleReader obj1; - // QXmlEntityResolver* QXmlSimpleReader::entityResolver() - // void QXmlSimpleReader::setEntityResolver(QXmlEntityResolver*) - MyXmlEntityResolver *var1 = new MyXmlEntityResolver; - obj1.setEntityResolver(var1); - QCOMPARE(static_cast(var1), obj1.entityResolver()); - obj1.setEntityResolver((QXmlEntityResolver *)0); - QCOMPARE((QXmlEntityResolver *)0, obj1.entityResolver()); - delete var1; - - // QXmlContentHandler* QXmlSimpleReader::contentHandler() - // void QXmlSimpleReader::setContentHandler(QXmlContentHandler*) - MyXmlContentHandler *var2 = new MyXmlContentHandler; - obj1.setContentHandler(var2); - QCOMPARE(static_cast(var2), obj1.contentHandler()); - obj1.setContentHandler((QXmlContentHandler *)0); - QCOMPARE((QXmlContentHandler *)0, obj1.contentHandler()); - delete var2; - - // QXmlErrorHandler* QXmlSimpleReader::errorHandler() - // void QXmlSimpleReader::setErrorHandler(QXmlErrorHandler*) - MyXmlErrorHandler *var3 = new MyXmlErrorHandler; - obj1.setErrorHandler(var3); - QCOMPARE(static_cast(var3), obj1.errorHandler()); - obj1.setErrorHandler((QXmlErrorHandler *)0); - QCOMPARE((QXmlErrorHandler *)0, obj1.errorHandler()); - delete var3; - - // QXmlLexicalHandler* QXmlSimpleReader::lexicalHandler() - // void QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler*) - MyXmlLexicalHandler *var4 = new MyXmlLexicalHandler; - obj1.setLexicalHandler(var4); - QCOMPARE(static_cast(var4), obj1.lexicalHandler()); - obj1.setLexicalHandler((QXmlLexicalHandler *)0); - QCOMPARE((QXmlLexicalHandler *)0, obj1.lexicalHandler()); - delete var4; - - // QXmlDeclHandler* QXmlSimpleReader::declHandler() - // void QXmlSimpleReader::setDeclHandler(QXmlDeclHandler*) - MyXmlDeclHandler *var5 = new MyXmlDeclHandler; - obj1.setDeclHandler(var5); - QCOMPARE(static_cast(var5), obj1.declHandler()); - obj1.setDeclHandler((QXmlDeclHandler *)0); - QCOMPARE((QXmlDeclHandler *)0, obj1.declHandler()); - delete var5; -} - -void tst_QXml::interpretedAs0D() const -{ - /* See task 172632. */ - - class MyHandler : public QXmlDefaultHandler - { - public: - virtual bool startElement(const QString &namespaceURI, - const QString &localName, - const QString &qName, - const QXmlAttributes &atts) - { - Q_UNUSED(namespaceURI); - Q_UNUSED(localName); - Q_UNUSED(qName); - attrName = atts.qName(0); - attrCount = atts.count(); - return true; - } - - QString attrName; - int attrCount; - }; - - const QString document(QLatin1String("")); - - QString testFile = QFINDTESTDATA("0x010D.xml"); - if (testFile.isEmpty()) - QFAIL("Cannot find test file 0x010D.xml!"); - QFile f(testFile); - QVERIFY(f.open(QIODevice::ReadOnly)); - QXmlInputSource data(&f); - - QXmlSimpleReader reader; - - MyHandler myHandler; - reader.setContentHandler(&myHandler); - reader.setErrorHandler(&myHandler); - - QVERIFY(reader.parse(&data)); - - QCOMPARE(myHandler.attrCount, 1); - QCOMPARE(myHandler.attrName, QChar(0x010D) + QString::fromLatin1("reated-by")); -} - -#ifndef QT_NO_EXCEPTIONS -void tst_QXml::exception() -{ - QString message = QString::fromLatin1("message"); - int column = 3; - int line = 2; - QString publicId = QString::fromLatin1("publicId"); - QString systemId = QString::fromLatin1("systemId"); - - try { - QXmlParseException e(message, column, line, publicId, systemId); - throw e; - } - catch (QXmlParseException e) { - QCOMPARE(e.message(), message); - QCOMPARE(e.columnNumber(), column); - QCOMPARE(e.lineNumber(), line); - QCOMPARE(e.publicId(), publicId); - QCOMPARE(e.systemId(), systemId); - } -} -#endif - -#endif // QT_DEPRECATED_SINCE(5, 15) - -QTEST_MAIN(tst_QXml) -#include "tst_qxml.moc" diff --git a/tests/auto/xml/sax/qxmlinputsource/.gitignore b/tests/auto/xml/sax/qxmlinputsource/.gitignore deleted file mode 100644 index 09ea68aa90..0000000000 --- a/tests/auto/xml/sax/qxmlinputsource/.gitignore +++ /dev/null @@ -1 +0,0 @@ -tst_qxmlinputsource diff --git a/tests/auto/xml/sax/qxmlinputsource/CMakeLists.txt b/tests/auto/xml/sax/qxmlinputsource/CMakeLists.txt deleted file mode 100644 index 5da96c6863..0000000000 --- a/tests/auto/xml/sax/qxmlinputsource/CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ -# Generated from qxmlinputsource.pro. - -##################################################################### -## tst_qxmlinputsource Test: -##################################################################### - -qt_add_test(tst_qxmlinputsource - SOURCES - tst_qxmlinputsource.cpp - PUBLIC_LIBRARIES - Qt::Network - Qt::Xml -) diff --git a/tests/auto/xml/sax/qxmlinputsource/qxmlinputsource.pro b/tests/auto/xml/sax/qxmlinputsource/qxmlinputsource.pro deleted file mode 100644 index 8846ae5e4a..0000000000 --- a/tests/auto/xml/sax/qxmlinputsource/qxmlinputsource.pro +++ /dev/null @@ -1,4 +0,0 @@ -CONFIG += testcase -TARGET = tst_qxmlinputsource -SOURCES += tst_qxmlinputsource.cpp -QT = core xml network testlib diff --git a/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp b/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp deleted file mode 100644 index 8b437103de..0000000000 --- a/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp +++ /dev/null @@ -1,304 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class tst_QXmlInputSource : public QObject -{ - Q_OBJECT - -#if QT_DEPRECATED_SINCE(5, 15) -private slots: - void reset() const; - void resetSimplified() const; - void waitForReadyIODevice() const; - void inputFromSlowDevice() const; -#endif // QT_DEPRECATED_SINCE(5, 15) -}; - -#if QT_DEPRECATED_SINCE(5, 15) -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -/*! - \internal - \since 4.4 - - See task 166278. - */ -void tst_QXmlInputSource::reset() const -{ - const QString input(QString::fromLatin1("")); - - QXmlSimpleReader reader; - QXmlDefaultHandler handler; - reader.setContentHandler(&handler); - - QXmlInputSource source; - source.setData(input); - - QCOMPARE(source.data(), input); - - source.reset(); - QCOMPARE(source.data(), input); - - source.reset(); - QVERIFY(reader.parse(source)); - source.reset(); - QCOMPARE(source.data(), input); -} - -/*! - \internal - \since 4.4 - - See task 166278. - */ -void tst_QXmlInputSource::resetSimplified() const -{ - const QString input(QString::fromLatin1("")); - - QXmlSimpleReader reader; - - QXmlInputSource source; - source.setData(input); - - QVERIFY(reader.parse(source)); - source.reset(); - QCOMPARE(source.data(), input); -} - -class ServerAndClient : public QObject -{ - Q_OBJECT - -public: - ServerAndClient(QEventLoop &ev) : success(false) - , eventLoop(ev) - , bodyBytesRead(0) - , bodyLength(-1) - , isBody(false) - { - setObjectName("serverAndClient"); - tcpServer = new QTcpServer(this); - connect(tcpServer, SIGNAL(newConnection()), this, SLOT(newConnection())); - tcpServer->listen(QHostAddress::LocalHost, 1088); - httpClient = new QNetworkAccessManager(this); - connect(httpClient, SIGNAL(finished(QNetworkReply*)), SLOT(requestFinished(QNetworkReply*))); - } - - bool success; - QEventLoop &eventLoop; - -public slots: - void doIt() - { - QUrl url("http://127.0.0.1:1088"); - QNetworkRequest req(url); - req.setRawHeader("POST", url.path().toLatin1()); - req.setRawHeader("user-agent", "xml-test"); - req.setRawHeader("keep-alive", "false"); - req.setRawHeader("host", url.host().toLatin1()); - - QByteArray xmlrpc("\r\n\ - SFD.GetVersion\r\n\ - \r\n\ - "); - req.setHeader(QNetworkRequest::ContentLengthHeader, xmlrpc.size()); - req.setHeader(QNetworkRequest::ContentTypeHeader, "text/xml"); - - httpClient->post(req, xmlrpc); - } - - void requestFinished(QNetworkReply *reply) - { - QCOMPARE(reply->error(), QNetworkReply::NoError); - reply->deleteLater(); - } - -private slots: - void newConnection() - { - QTcpSocket *const s = tcpServer->nextPendingConnection(); - - if(s) - connect(s, SIGNAL(readyRead()), this, SLOT(readyRead())); - } - - void readyRead() - { - QTcpSocket *const s = static_cast(sender()); - - while (s->bytesAvailable()) - { - const QString line(s->readLine()); - - if (line.startsWith("Content-Length:")) - bodyLength = line.mid(15).toInt(); - - if (isBody) - { - body.append(line.toUtf8()); - bodyBytesRead += line.length(); - } - else if (line == "\r\n") - { - isBody = true; - if (bodyLength == -1) - { - qFatal("No length was specified in the header."); - } - } - } - - if (bodyBytesRead == bodyLength) - { - QDomDocument domDoc; - success = domDoc.setContent(body); - eventLoop.exit(); - } - } - -private: - QByteArray body; - int bodyBytesRead, bodyLength; - bool isBody; - QTcpServer *tcpServer; - QNetworkAccessManager* httpClient; -}; - -void tst_QXmlInputSource::waitForReadyIODevice() const -{ - QEventLoop el; - ServerAndClient sv(el); - QTimer::singleShot(1, &sv, SLOT(doIt())); - - el.exec(); - QVERIFY(sv.success); -} - -// This class is used to emulate a case where less than 4 bytes are sent in -// a single packet to ensure it is still parsed correctly -class SlowIODevice : public QIODevice -{ -public: - SlowIODevice(const QString &expectedData, QObject *parent = 0) - : QIODevice(parent), currentPos(0), readyToSend(true) - { - stringData = expectedData.toUtf8(); - dataTimer = new QTimer(this); - connect(dataTimer, &QTimer::timeout, [=]() { - readyToSend = true; - emit readyRead(); - dataTimer->stop(); - }); - dataTimer->start(1000); - } - bool open(SlowIODevice::OpenMode) override - { - setOpenMode(ReadOnly); - return true; - } - bool isSequential() const override - { - return true; - } - qint64 bytesAvailable() const override - { - if (readyToSend && stringData.size() != currentPos) - return qMax(3, stringData.size() - currentPos); - return 0; - } - qint64 readData(char *data, qint64 maxSize) override - { - if (!readyToSend) - return 0; - const qint64 readSize = qMin(qMin((qint64)3, maxSize), (qint64)(stringData.size() - currentPos)); - if (readSize > 0) - memcpy(data, &stringData.constData()[currentPos], readSize); - currentPos += readSize; - readyToSend = false; - if (currentPos != stringData.size()) - dataTimer->start(1000); - return readSize; - } - qint64 writeData(const char *, qint64) override { return 0; } - bool waitForReadyRead(int msecs) override - { - // Delibrately wait a maximum of 10 seconds for the sake - // of the test, so it doesn't unduly hang - const int waitTime = qMax(10000, msecs); - QElapsedTimer t; - t.start(); - while (t.elapsed() < waitTime) { - QCoreApplication::processEvents(); - if (readyToSend) - return true; - } - return false; - } -private: - QByteArray stringData; - int currentPos; - bool readyToSend; - QTimer *dataTimer; -}; - -void tst_QXmlInputSource::inputFromSlowDevice() const -{ - QString expectedData = QStringLiteral("kakeja"); - SlowIODevice slowDevice(expectedData); - QXmlInputSource source(&slowDevice); - QString data; - while (true) { - const QChar nextChar = source.next(); - if (nextChar == QXmlInputSource::EndOfDocument) - break; - else if (nextChar != QXmlInputSource::EndOfData) - data += nextChar; - } - QCOMPARE(data, expectedData); -} - -QT_WARNING_POP -#endif // QT_DEPRECATED_SINCE(5, 15) - -QTEST_MAIN(tst_QXmlInputSource) -#include "tst_qxmlinputsource.moc" diff --git a/tests/auto/xml/sax/qxmlsimplereader/.gitattributes b/tests/auto/xml/sax/qxmlsimplereader/.gitattributes deleted file mode 100644 index 5521239fbe..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/.gitattributes +++ /dev/null @@ -1,8 +0,0 @@ -encodings/doc_euc-jp.xml -crlf -encodings/doc_utf-8.xml -crlf -xmldocs/* -crlf -xmldocs/*/* -crlf -xmldocs/*/*/* -crlf -xmldocs/*/*/*/* -crlf -xmldocs/*/*/*/*/* -crlf -xmldocs/*/*/*/*/*/* -crlf diff --git a/tests/auto/xml/sax/qxmlsimplereader/.gitignore b/tests/auto/xml/sax/qxmlsimplereader/.gitignore deleted file mode 100644 index 31b604faaf..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/.gitignore +++ /dev/null @@ -1 +0,0 @@ -tst_qxmlsimplereader diff --git a/tests/auto/xml/sax/qxmlsimplereader/CMakeLists.txt b/tests/auto/xml/sax/qxmlsimplereader/CMakeLists.txt deleted file mode 100644 index 504dc67ecd..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/CMakeLists.txt +++ /dev/null @@ -1,27 +0,0 @@ -# Generated from qxmlsimplereader.pro. - -##################################################################### -## tst_qxmlsimplereader Test: -##################################################################### - -# Collect test data -file(GLOB_RECURSE test_data_glob - RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} - encodings/*) -list(APPEND test_data ${test_data_glob}) -file(GLOB_RECURSE test_data_glob - RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} - xmldocs/*) -list(APPEND test_data ${test_data_glob}) - -qt_add_test(tst_qxmlsimplereader - SOURCES - parser/parser.cpp parser/parser.h - tst_qxmlsimplereader.cpp - INCLUDE_DIRECTORIES - parser - PUBLIC_LIBRARIES - Qt::Network - Qt::Xml - TESTDATA ${test_data} -) diff --git a/tests/auto/xml/sax/qxmlsimplereader/encodings/doc_little-endian.xml b/tests/auto/xml/sax/qxmlsimplereader/encodings/doc_little-endian.xml deleted file mode 100644 index 81f72e59e8..0000000000 Binary files a/tests/auto/xml/sax/qxmlsimplereader/encodings/doc_little-endian.xml and /dev/null differ diff --git a/tests/auto/xml/sax/qxmlsimplereader/encodings/doc_utf-16.xml b/tests/auto/xml/sax/qxmlsimplereader/encodings/doc_utf-16.xml deleted file mode 100644 index 6c8622aa43..0000000000 Binary files a/tests/auto/xml/sax/qxmlsimplereader/encodings/doc_utf-16.xml and /dev/null differ diff --git a/tests/auto/xml/sax/qxmlsimplereader/encodings/doc_utf-8.xml b/tests/auto/xml/sax/qxmlsimplereader/encodings/doc_utf-8.xml deleted file mode 100644 index 402c163c5f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/encodings/doc_utf-8.xml +++ /dev/null @@ -1,77 +0,0 @@ - - -<週報> - <年月週> - <年度>1997 - <月度>1 - <週>1 - - - <氏名> - <氏>山田 - <名>太郎 - - - <業務報告リスト> - <業務報告> - <業務名>XMLエディターの作成 - <業務コード>X3355-23 - <工数管理> - <見積もり工数>1600 - <実績工数>320 - <当月見積もり工数>160 - <当月実績工数>24 - - <予定項目リスト> - <予定項目> -

XMLエディターの基本仕様の作成

- - - <実施事項リスト> - <実施事項> -

XMLエディターの基本仕様の作成

- - <実施事項> -

競合他社製品の機能調査

- - - <上長への要請事項リスト> - <上長への要請事項> -

特になし

- - - <問題点対策> -

XMLとは何かわからない。

- - - - <業務報告> - <業務名>検索エンジンの開発 - <業務コード>S8821-76 - <工数管理> - <見積もり工数>120 - <実績工数>6 - <当月見積もり工数>32 - <当月実績工数>2 - - <予定項目リスト> - <予定項目> -

gooの機能を調べてみる

- - - <実施事項リスト> - <実施事項> -

更に、どういう検索エンジンがあるか調査する

- - - <上長への要請事項リスト> - <上長への要請事項> -

開発をするのはめんどうなので、Yahoo!を買収して下さい。

- - - <問題点対策> -

検索エンジンで車を走らせることができない。(要調査)

- - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/generate_ref_files.sh b/tests/auto/xml/sax/qxmlsimplereader/generate_ref_files.sh deleted file mode 100755 index 9e7ca0a659..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/generate_ref_files.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -############################################################################# -## -## Copyright (C) 2016 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is the build configuration utility of the Qt Toolkit. -## -## $QT_BEGIN_LICENSE:GPL-EXCEPT$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 as published by the Free Software -## Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################# - -for k in `find xmldocs -name \*.xml`; do echo $k...; ./parser/parser $k; done diff --git a/tests/auto/xml/sax/qxmlsimplereader/parser/CMakeLists.txt b/tests/auto/xml/sax/qxmlsimplereader/parser/CMakeLists.txt deleted file mode 100644 index 6ffb17ac0f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/parser/CMakeLists.txt +++ /dev/null @@ -1,19 +0,0 @@ -# special case skip regeneration - -cmake_minimum_required(VERSION 3.14.0) - -project(Parser CXX) -find_package(Qt6 REQUIRED COMPONENTS Core Gui Xml) - -add_executable(parser) - -target_sources(parser PRIVATE - main.cpp - parser.cpp - parser.h -) - -target_link_libraries(parser PRIVATE - Qt::Gui - Qt::Xml -) diff --git a/tests/auto/xml/sax/qxmlsimplereader/parser/main.cpp b/tests/auto/xml/sax/qxmlsimplereader/parser/main.cpp deleted file mode 100644 index c5597c6f8e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/parser/main.cpp +++ /dev/null @@ -1,103 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - - -#include -#include -#include - -#include -#include -#include - -#include "parser.h" - -static QTextStream qerr(stderr, QIODevice::WriteOnly); - -static void usage() -{ - qerr << "Usage: parse [-report-whitespace-only-chardata] [-report-start-end-entity] []\n"; - exit(1); -} - -int main(int argc, const char *argv[]) -{ - QString file_name; - QString out_file_name; - bool report_start_end_entity = false; - bool report_whitespace_only_chardata = false; - - for (int i = 1 ; i < argc; ++i) { - QString arg = QString::fromLocal8Bit(argv[i]); - if (arg == QLatin1String("-report-whitespace-only-chardata")) - report_whitespace_only_chardata = true; - else if (arg == QLatin1String("-report-start-end-entity")) - report_start_end_entity = true; - else if (file_name.isEmpty()) - file_name = arg; - else if (out_file_name.isEmpty()) - out_file_name = arg; - else - usage(); - } - - if (file_name.isEmpty()) - usage(); - - QFile in_file(file_name); - if (!in_file.open(QIODevice::ReadOnly)) { - qerr << "Could not open " << file_name << ": " << strerror(errno) << Qt::endl; - return 1; - } - - if (out_file_name.isEmpty()) - out_file_name = file_name + ".ref"; - - QFile out_file; - if (out_file_name == "-") { - out_file.open(stdout, QFile::WriteOnly); - } else { - out_file.setFileName(out_file_name); - if (!out_file.open(QIODevice::WriteOnly | QIODevice::Truncate)) { - qerr << "Could not open " << out_file_name << ": " << strerror(errno) << Qt::endl; - return 1; - } - } - - Parser parser; - if (report_start_end_entity) - parser.setFeature("http://trolltech.com/xml/features/report-start-end-entity", true); - if (report_whitespace_only_chardata) - parser.setFeature("http://trolltech.com/xml/features/report-whitespace-only-CharData", true); - - parser.parseFile(&in_file); - - out_file.write(parser.result().toUtf8()); - - return 0; -} diff --git a/tests/auto/xml/sax/qxmlsimplereader/parser/parser.cpp b/tests/auto/xml/sax/qxmlsimplereader/parser/parser.cpp deleted file mode 100644 index 24aa9376da..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/parser/parser.cpp +++ /dev/null @@ -1,449 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include "parser.h" - -#if QT_DEPRECATED_SINCE(5, 15) - -#include -#include - -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -class ContentHandler : public QXmlDefaultHandler -{ -public: - ContentHandler(); - - // QXmlContentHandler methods - bool startDocument(); - bool endDocument(); - bool startElement(const QString &namespaceURI, - const QString &localName, - const QString &qName, - const QXmlAttributes &atts); - bool endElement(const QString &namespaceURI, - const QString &localName, - const QString &qName); - bool characters(const QString &ch); - void setDocumentLocator(QXmlLocator *locator); - bool startPrefixMapping(const QString &prefix, const QString &uri); - bool endPrefixMapping(const QString &prefix); - bool ignorableWhitespace(const QString &ch); - bool processingInstruction(const QString &target, const QString &data); - bool skippedEntity(const QString &name); - - // QXmlErrorHandler methods - bool warning(const QXmlParseException &exception); - bool error(const QXmlParseException &exception); - bool fatalError(const QXmlParseException &exception); - - // QXmlDTDHandler methods - bool notationDecl(const QString &name, const QString &publicId, - const QString &systemId); - bool unparsedEntityDecl(const QString &name, - const QString &publicId, - const QString &systemId, - const QString ¬ationName); - - // QXmlEntityResolver methods - bool resolveEntity(const QString &publicId, - const QString &systemId, - QXmlInputSource *&); - - // QXmlLexicalHandler methods - bool startDTD (const QString &name, const QString &publicId, const QString &systemId); - bool endDTD(); - bool startEntity(const QString &name); - bool endEntity(const QString &name); - bool startCDATA(); - bool endCDATA(); - bool comment(const QString &ch); - - // QXmlDeclHandler methods - bool attributeDecl(const QString &eName, const QString &aName, const QString &type, const QString &valueDefault, const QString &value); - bool internalEntityDecl(const QString &name, const QString &value); - bool externalEntityDecl(const QString &name, const QString &publicId, const QString &systemId); - - - const QString &result() const { return m_result; } - const QString &errorMsg() const { return m_error_msg; } - -private: - QString nestPrefix() const { return QString().fill(' ', 3*m_nest); } - QString formatAttributes(const QXmlAttributes & atts); - QString escapeStr(const QString &s); - - unsigned m_nest; - QString m_result, m_error_msg; -}; - -ContentHandler::ContentHandler() -{ - m_nest = 0; -} - - -bool ContentHandler::startDocument() -{ - m_result += nestPrefix(); - m_result += "startDocument()\n"; - ++m_nest; - return true; -} - -bool ContentHandler::endDocument() -{ - --m_nest; - m_result += nestPrefix(); - m_result += "endDocument()\n"; - return true; -} - -bool ContentHandler::startElement(const QString &namespaceURI, - const QString &localName, - const QString &qName, - const QXmlAttributes &atts) -{ - m_result += nestPrefix(); - m_result += "startElement(namespaceURI=\"" + escapeStr(namespaceURI) - + "\", localName=\"" + escapeStr(localName) - + "\", qName=\"" + escapeStr(qName) - + "\", atts=[" + formatAttributes(atts) + "])\n"; - ++m_nest; - return true; -} - -QString ContentHandler::escapeStr(const QString &s) -{ - QString result = s; - result.replace(QChar(0), "\\0"); - result.replace("\\", "\\\\"); - result.replace("\"", "\\\""); - result.replace("\n", "\\n"); - result.replace("\r", "\\r"); - result.replace("\t", "\\t"); - return result; -} - -QString ContentHandler::formatAttributes(const QXmlAttributes &atts) -{ - QString result; - for (int i = 0, cnt = atts.count(); i < cnt; ++i) { - if (i != 0) result += ", "; - result += "{localName=\"" + escapeStr(atts.localName(i)) - + "\", qName=\"" + escapeStr(atts.qName(i)) - + "\", uri=\"" + escapeStr(atts.uri(i)) - + "\", type=\"" + escapeStr(atts.type(i)) - + "\", value=\"" + escapeStr(atts.value(i)) + "\"}"; - } - return result; -} - -bool ContentHandler::endElement(const QString &namespaceURI, - const QString &localName, - const QString &qName) -{ - --m_nest; - m_result += nestPrefix(); - m_result += "endElement(namespaceURI=\"" + escapeStr(namespaceURI) - + "\", localName=\"" + escapeStr(localName) - + "\", qName=\"" + escapeStr(qName) + "\")\n"; - return true; -} - -bool ContentHandler::characters(const QString &ch) -{ - m_result += nestPrefix(); - m_result += "characters(ch=\"" + escapeStr(ch) + "\")\n"; - return true; -} - -void ContentHandler::setDocumentLocator(QXmlLocator *locator) -{ - m_result += nestPrefix(); - m_result += "setDocumentLocator(locator={columnNumber=" - + QString::number(locator->columnNumber()) - + ", lineNumber=" + QString::number(locator->lineNumber()) - + "})\n"; -} - -bool ContentHandler::startPrefixMapping (const QString &prefix, const QString & uri) -{ - m_result += nestPrefix(); - m_result += "startPrefixMapping(prefix=\"" + escapeStr(prefix) - + "\", uri=\"" + escapeStr(uri) + "\")\n"; - ++m_nest; - return true; -} - -bool ContentHandler::endPrefixMapping(const QString &prefix) -{ - --m_nest; - m_result += nestPrefix(); - m_result += "endPrefixMapping(prefix=\"" + escapeStr(prefix) + "\")\n"; - return true; -} - -bool ContentHandler::ignorableWhitespace(const QString & ch) -{ - m_result += nestPrefix(); - m_result += "ignorableWhitespace(ch=\"" + escapeStr(ch) + "\")\n"; - return true; -} - -bool ContentHandler::processingInstruction(const QString &target, const QString &data) -{ - m_result += nestPrefix(); - m_result += "processingInstruction(target=\"" + escapeStr(target) - + "\", data=\"" + escapeStr(data) + "\")\n"; - return true; -} - -bool ContentHandler::skippedEntity (const QString & name) -{ - m_result += nestPrefix(); - m_result += "skippedEntity(name=\"" + escapeStr(name) + "\")\n"; - return true; -} - -bool ContentHandler::warning(const QXmlParseException & exception) -{ - m_error_msg = QString("Warning %1:%2: %3") - .arg(exception.columnNumber()) - .arg(exception.lineNumber()) - .arg(exception.message()); - m_result += nestPrefix(); - m_result += "warning(exception={columnNumber=" - + QString::number(exception.columnNumber()) - + ", lineNumber=" - + QString::number(exception.lineNumber()) - + ", publicId=\"" + escapeStr(exception.publicId()) - + "\", systemId=\"" + escapeStr(exception.systemId()) - + "\", message=\"" + escapeStr(exception.message()) - + "\"})\n"; - return true; -} - -bool ContentHandler::error(const QXmlParseException & exception) -{ - m_error_msg = QString("Error %1:%2: %3") - .arg(exception.columnNumber()) - .arg(exception.lineNumber()) - .arg(exception.message()); - m_result += nestPrefix(); - m_result += "error(exception={columnNumber=" - + QString::number(exception.columnNumber()) - + ", lineNumber=" - + QString::number(exception.lineNumber()) - + ", publicId=\"" + escapeStr(exception.publicId()) - + "\", systemId=\"" + escapeStr(exception.systemId()) - + "\", message=\"" + escapeStr(exception.message()) - + "\"})\n"; - return true; -} - -bool ContentHandler::fatalError(const QXmlParseException & exception) -{ - m_error_msg = QString("Fatal error %1:%2: %3") - .arg(exception.columnNumber()) - .arg(exception.lineNumber()) - .arg(exception.message()); - m_result += nestPrefix(); - m_result += "fatalError(exception={columnNumber=" - + QString::number(exception.columnNumber()) - + ", lineNumber=" - + QString::number(exception.lineNumber()) - + ", publicId=\"" + escapeStr(exception.publicId()) - + "\", systemId=\"" + escapeStr(exception.systemId()) - + "\", message=\"" + escapeStr(exception.message()) - + "\"})\n"; - return true; -} - -bool ContentHandler::notationDecl(const QString &name, - const QString &publicId, - const QString &systemId ) -{ - m_result += nestPrefix(); - m_result += "notationDecl(name=\"" + escapeStr(name) + "\", publicId=\"" - + escapeStr(publicId) + "\", systemId=\"" - + escapeStr(systemId) + "\")\n"; - return true; -} - -bool ContentHandler::unparsedEntityDecl(const QString &name, - const QString &publicId, - const QString &systemId, - const QString ¬ationName ) -{ - m_result += nestPrefix(); - m_result += "unparsedEntityDecl(name=\"" + escapeStr(name) - + "\", publicId=\"" + escapeStr(publicId) - + "\", systemId=\"" + escapeStr(systemId) - + "\", notationName=\"" + escapeStr(notationName) - + "\")\n"; - return true; -} - -bool ContentHandler::resolveEntity(const QString &publicId, - const QString &systemId, - QXmlInputSource *&) -{ - m_result += nestPrefix(); - m_result += "resolveEntity(publicId=\"" + escapeStr(publicId) - + "\", systemId=\"" + escapeStr(systemId) - + "\", ret={})\n"; - return true; -} - -bool ContentHandler::startDTD ( const QString & name, const QString & publicId, const QString & systemId ) -{ - m_result += nestPrefix(); - m_result += "startDTD(name=\"" + escapeStr(name) - + "\", publicId=\"" + escapeStr(publicId) - + "\", systemId=\"" + escapeStr(systemId) + "\")\n"; - ++m_nest; - return true; -} - -bool ContentHandler::endDTD () -{ - --m_nest; - m_result += nestPrefix(); - m_result += "endDTD()\n"; - return true; -} - -bool ContentHandler::startEntity ( const QString & name ) -{ - m_result += nestPrefix(); - m_result += "startEntity(name=\"" + escapeStr(name) + "\")\n"; - ++m_nest; - return true; -} - -bool ContentHandler::endEntity ( const QString & name ) -{ - --m_nest; - m_result += nestPrefix(); - m_result += "endEntity(name=\"" + escapeStr(name) + "\")\n"; - return true; -} - -bool ContentHandler::startCDATA () -{ - m_result += nestPrefix(); - m_result += "startCDATA()\n"; - ++m_nest; - return true; -} - -bool ContentHandler::endCDATA () -{ - --m_nest; - m_result += nestPrefix(); - m_result += "endCDATA()\n"; - return true; -} - -bool ContentHandler::comment ( const QString & ch ) -{ - m_result += nestPrefix(); - m_result += "comment(ch=\"" + escapeStr(ch) + "\")\n"; - return true; -} - -bool ContentHandler::attributeDecl(const QString &eName, - const QString &aName, - const QString &type, - const QString &valueDefault, - const QString &value) -{ - m_result += nestPrefix(); - m_result += "attributeDecl(eName=\"" + escapeStr(eName) + "\", aName=\"" - + escapeStr(aName) + "\", type=\"" + escapeStr(type) - + "\", valueDefault=\"" + escapeStr(valueDefault) - + "\", value=\"" + escapeStr(value) + "\")\n"; - return true; -} - -bool ContentHandler::internalEntityDecl(const QString &name, - const QString &value) -{ - m_result += nestPrefix(); - m_result += "internatlEntityDecl(name=\"" + escapeStr(name) - + "\", value=\"" + escapeStr(value) + "\")\n"; - return true; -} - -bool ContentHandler::externalEntityDecl(const QString &name, - const QString &publicId, - const QString &systemId) -{ - m_result += nestPrefix(); - m_result += "externalEntityDecl(name=\"" + escapeStr(name) - + "\", publicId=\"" + escapeStr(publicId) - + "\", systemId=\"" + escapeStr(systemId) + "\")\n"; - return true; -} - -Parser::Parser() -{ - handler = new ContentHandler; - setContentHandler(handler); - setDTDHandler(handler); - setDeclHandler(handler); - setEntityResolver(handler); - setErrorHandler(handler); - setLexicalHandler(handler); -} - -Parser::~Parser() -{ - delete handler; -} - -bool Parser::parseFile(QFile *file) -{ - QXmlInputSource source(file); - return parse(source); -} - -QString Parser::result() const -{ - return handler->result(); -} - -QString Parser::errorMsg() const -{ - return handler->errorMsg(); -} - -QT_WARNING_POP -#endif // QT_DEPRECATED_SINCE(5, 15) diff --git a/tests/auto/xml/sax/qxmlsimplereader/parser/parser.h b/tests/auto/xml/sax/qxmlsimplereader/parser/parser.h deleted file mode 100644 index eed4c7517e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/parser/parser.h +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -#ifndef PARSER_H -#define PARSER_H - -#include - -QT_WARNING_DISABLE_DEPRECATED - -#if QT_DEPRECATED_SINCE(5, 15) - -#include -#include -#include - -class ContentHandler; - -class Parser : public QXmlSimpleReader -{ -public: - Parser(); - ~Parser(); - - bool parseFile(QFile *file); - QString result() const; - QString errorMsg() const; - -private: - ContentHandler *handler; -}; - -#endif // QT_DEPRECATED_SINCE(5, 15) - -#endif diff --git a/tests/auto/xml/sax/qxmlsimplereader/parser/parser.pro b/tests/auto/xml/sax/qxmlsimplereader/parser/parser.pro deleted file mode 100644 index f801200942..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/parser/parser.pro +++ /dev/null @@ -1,4 +0,0 @@ -QT += xml - -HEADERS += parser.h -SOURCES += main.cpp parser.cpp diff --git a/tests/auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro b/tests/auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro deleted file mode 100644 index 349b976f58..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro +++ /dev/null @@ -1,11 +0,0 @@ -CONFIG += testcase -TARGET = tst_qxmlsimplereader -INCLUDEPATH += parser - -HEADERS += parser/parser.h -SOURCES += tst_qxmlsimplereader.cpp parser/parser.cpp - -CONFIG += no_batch -QT = core network xml testlib - -TESTDATA += encodings/* xmldocs/* diff --git a/tests/auto/xml/sax/qxmlsimplereader/tst_qxmlsimplereader.cpp b/tests/auto/xml/sax/qxmlsimplereader/tst_qxmlsimplereader.cpp deleted file mode 100644 index 6375a44983..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/tst_qxmlsimplereader.cpp +++ /dev/null @@ -1,824 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "parser/parser.h" - -static const char *const inputString = "]>"; -static const char *const refString = "setDocumentLocator(locator={columnNumber=1, lineNumber=1})\nstartDocument()\nstartDTD(name=\"inferno\", publicId=\"\", systemId=\"\")\nendDTD()\nstartElement(namespaceURI=\"\", localName=\"inferno\", qName=\"inferno\", atts=[])\nstartElement(namespaceURI=\"\", localName=\"circle\", qName=\"circle\", atts=[])\nendElement(namespaceURI=\"\", localName=\"circle\", qName=\"circle\")\nstartElement(namespaceURI=\"\", localName=\"circle\", qName=\"circle\", atts=[])\nendElement(namespaceURI=\"\", localName=\"circle\", qName=\"circle\")\nendElement(namespaceURI=\"\", localName=\"inferno\", qName=\"inferno\")\nendDocument()\n"; - -#define TEST_PORT 1088 - -class XmlServer : public QThread -{ - Q_OBJECT -public: - XmlServer(QObject *parent = 0) : QThread(parent) {} - - QSemaphore threadStarted; - bool listening = false; - QAtomicInt quitSoon; - -protected: - virtual void run(); -}; - -#define CHUNK_SIZE 2048 - -void XmlServer::run() -{ - QTcpServer srv; - - listening = srv.listen(QHostAddress::Any, TEST_PORT); - threadStarted.release(); - - if (!listening) { - qWarning() << "Failed to listen on" << TEST_PORT << srv.errorString(); - return; - } - - for (;;) { - srv.waitForNewConnection(100); - - if (QTcpSocket *sock = srv.nextPendingConnection()) { - QByteArray fileName; - for (;;) { - char c; - if (sock->getChar(&c)) { - if (c == '\n') - break; - fileName.append(c); - } else { - if (!sock->waitForReadyRead(-1)) - break; - } - } - - QFile file(QString::fromLocal8Bit(fileName)); - if (!file.open(QIODevice::ReadOnly)) { - qWarning() << "XmlServer::run(): could not open" << fileName; - sock->abort(); - delete sock; - continue; - } - - QByteArray data = file.readAll(); - for (int i = 0; i < data.size();) { - int cnt = qMin(CHUNK_SIZE, data.size() - i); - sock->write(data.constData() + i, cnt); - i += cnt; - sock->flush(); - QTest::qSleep(1); - - if (quitSoon.loadAcquire()) { - sock->abort(); - break; - } - } - - sock->disconnectFromHost(); - delete sock; - } - - if (quitSoon.loadAcquire()) - break; - } - - srv.close(); -} - -class tst_QXmlSimpleReader : public QObject -{ - Q_OBJECT - -#if QT_DEPRECATED_SINCE(5, 15) - public: - tst_QXmlSimpleReader(); - ~tst_QXmlSimpleReader(); - - private slots: - void initTestCase(); - void testGoodXmlFile(); - void testGoodXmlFile_data(); - void testBadXmlFile(); - void testBadXmlFile_data(); - void testIncrementalParsing(); - void testIncrementalParsing_data(); - void setDataQString(); - void inputFromQIODevice(); - void inputFromString(); - void inputFromSocket_data(); - void inputFromSocket(); - - void idsInParseException1(); - void idsInParseException2(); - void preserveCharacterReferences() const; - void reportNamespace() const; - void reportNamespace_data() const; - void roundtripWithNamespaces() const; - void dtdRecursionLimit(); - - private: - static QDomDocument fromByteArray(const QString &title, const QByteArray &ba, bool *ok); - XmlServer *server; - QString prefix; -#endif // QT_DEPRECATED_SINCE(5, 15) -}; - -#if QT_DEPRECATED_SINCE(5, 15) -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - -tst_QXmlSimpleReader::tst_QXmlSimpleReader() : server(new XmlServer(this)) -{ - server->start(); -} - -tst_QXmlSimpleReader::~tst_QXmlSimpleReader() -{ - server->quitSoon.storeRelease(1); - server->wait(); -} - -class MyErrorHandler : public QXmlErrorHandler -{ -public: - QString publicId; - QString systemId; - - virtual bool error(const QXmlParseException &) - { - return false; - } - - virtual QString errorString() const - { - return QString(); - } - - virtual bool fatalError(const QXmlParseException &exception) - { - publicId = exception.publicId(); - systemId = exception.systemId(); - return true; - } - - virtual bool warning(const QXmlParseException &) - { - return true; - } - -}; - -void tst_QXmlSimpleReader::initTestCase() -{ - prefix = QFileInfo(QFINDTESTDATA("xmldocs")).absolutePath(); - if (prefix.isEmpty()) - QFAIL("Cannot find xmldocs testdata!"); - QDir::setCurrent(prefix); -} - -void tst_QXmlSimpleReader::idsInParseException1() -{ - MyErrorHandler handler; - QXmlSimpleReader reader; - - reader.setErrorHandler(&handler); - - /* A non-wellformed XML document with PUBLIC and SYSTEM. */ - QByteArray input("" - "" - "" - "" - ""); - - QBuffer buff(&input); - QXmlInputSource source(&buff); - - /* Yes, parsing should be reported as a failure. */ - QVERIFY(!reader.parse(source)); - - QCOMPARE(handler.publicId, QString::fromLatin1("-//W3C//DTD XHTML 1.0 Strict//EN")); - QCOMPARE(handler.systemId, QString::fromLatin1("http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd")); -} - -void tst_QXmlSimpleReader::idsInParseException2() -{ - MyErrorHandler handler; - QXmlSimpleReader reader; - - reader.setErrorHandler(&handler); - - /* A non-wellformed XML document with only SYSTEM. */ - QByteArray input("" - "" - "" - "" - ""); - - QBuffer buff(&input); - QXmlInputSource source(&buff); - - /* Yes, parsing should be reported as a failure. */ - QVERIFY(!reader.parse(source)); - - QCOMPARE(handler.publicId, QString()); - QCOMPARE(handler.systemId, QString::fromLatin1("http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd")); -} - -static QStringList findXmlFiles(QString dir_name) -{ - QStringList result; - - dir_name = QFINDTESTDATA(dir_name); - QDir dir(dir_name); - QFileInfoList file_list = dir.entryInfoList(QStringList("*.xml"), QDir::Files, QDir::Name); - - QFileInfoList::const_iterator it = file_list.begin(); - for (; it != file_list.end(); ++it) { - const QFileInfo &file_info = *it; - result.append(file_info.filePath()); - } - - return result; -} - - -void tst_QXmlSimpleReader::testGoodXmlFile_data() -{ - const char * const good_data_dirs[] = { - "xmldocs/valid/sa", - "xmldocs/valid/not-sa", - "xmldocs/valid/ext-sa", - 0 - }; - const char * const *d = good_data_dirs; - - QStringList good_file_list; - for (; *d != 0; ++d) - good_file_list += findXmlFiles(*d); - - QTest::addColumn("file_name"); - QStringList::const_iterator it = good_file_list.begin(); - for (; it != good_file_list.end(); ++it) - QTest::newRow((*it).toLatin1()) << *it; -} - -void tst_QXmlSimpleReader::testGoodXmlFile() -{ - QFETCH(QString, file_name); - QFile file(file_name); - QVERIFY(file.open(QIODevice::ReadOnly)); - QString content = file.readAll(); - file.close(); - QVERIFY(file.open(QIODevice::ReadOnly)); - Parser parser; - - QVERIFY(parser.parseFile(&file)); - - QFile ref_file(file_name + ".ref"); - QVERIFY(ref_file.open(QIODevice::ReadOnly | QIODevice::Text)); - QByteArray data = ref_file.readAll(); - QString ref_file_contents = QString::fromUtf8(data.constData(), data.size()); - - QCOMPARE(parser.result(), ref_file_contents); -} - -void tst_QXmlSimpleReader::testBadXmlFile_data() -{ - const char * const bad_data_dirs[] = { - "xmldocs/not-wf/sa", - 0 - }; - const char * const *d = bad_data_dirs; - - QStringList bad_file_list; - for (; *d != 0; ++d) - bad_file_list += findXmlFiles(*d); - - QTest::addColumn("file_name"); - QStringList::const_iterator it = bad_file_list.begin(); - for (; it != bad_file_list.end(); ++it) - QTest::newRow((*it).toLatin1()) << *it; -} - -void tst_QXmlSimpleReader::testBadXmlFile() -{ - QFETCH(QString, file_name); - QFile file(file_name); - QVERIFY(file.open(QIODevice::ReadOnly)); - Parser parser; - - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/030.xml").toLocal8Bit().constData(), "a form feed character is not accepted in XML", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/031.xml").toLocal8Bit().constData(), "a form feed character is not accepted in a processing instruction", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/032.xml").toLocal8Bit().constData(), "a form feed character is not accepted in a comment", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/033.xml").toLocal8Bit().constData(), "overlong sequence - small latin letter d should be rejected", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/038.xml").toLocal8Bit().constData(), "attribute x redefined; should be rejected", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/072.xml").toLocal8Bit().constData(), "entity foo not defined", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/073.xml").toLocal8Bit().constData(), "entity f not defined", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/074.xml").toLocal8Bit().constData(), "entity e is not well-formed ()", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/076.xml").toLocal8Bit().constData(), "entity foo is not defined", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/077.xml").toLocal8Bit().constData(), "entity bar is not defined within the definition of entity foo", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/078.xml").toLocal8Bit().constData(), "entity foo not defined", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/085.xml").toLocal8Bit().constData(), "Unfinished Public or System Id", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/086.xml").toLocal8Bit().constData(), "Unfinished Public or System Id", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/087.xml").toLocal8Bit().constData(), "Unfinished Public or System Id", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/101.xml").toLocal8Bit().constData(), "Invalid XML encoding name (space before utf-8)", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/102.xml").toLocal8Bit().constData(), "Invalid version specification (1.0 followed by space)", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/104.xml").toLocal8Bit().constData(), "Premature end of data in tag foo", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/116.xml").toLocal8Bit().constData(), "Invalid decimal value", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/117.xml").toLocal8Bit().constData(), "No name", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/119.xml").toLocal8Bit().constData(), "No name", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/122.xml").toLocal8Bit().constData(), "; expected in declaration of element", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/132.xml").toLocal8Bit().constData(), "; expected in declaration of element", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/142.xml").toLocal8Bit().constData(), "Invalid value '0'", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/143.xml").toLocal8Bit().constData(), "Invalid value '31'", Continue); - - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/144.xml").toLocal8Bit().constData(), "noncharacter code 0xFFFF should be rejected", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/145.xml").toLocal8Bit().constData(), "surrogate code point 0xD800 should be rejected", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/146.xml").toLocal8Bit().constData(), "code point out-of-range 0x110000 (must be < 0x10FFFE)", Abort); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/160.xml").toLocal8Bit().constData(), "Parameter references forbidden in internal subset", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/162.xml").toLocal8Bit().constData(), "Parameter references forbidden in internal subset", Continue); - - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/168.xml").toLocal8Bit().constData(), "Surrogate code point 0xEDA080 should be rejected", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/169.xml").toLocal8Bit().constData(), "Surrogate code point 0xEDB080 should be rejected", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/170.xml").toLocal8Bit().constData(), "Code point 0xF7808080 should be rejected", Continue); - - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/180.xml").toLocal8Bit().constData(), "Entity e is not defined", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/181.xml").toLocal8Bit().constData(), "Unregistered error message", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/182.xml").toLocal8Bit().constData(), "Comment not terminated", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/185.xml").toLocal8Bit().constData(), "Entity e not defined", Continue); - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/186.xml").toLocal8Bit().constData(), "Attributes constructs error", Continue); - - QVERIFY(!parser.parseFile(&file)); - - QFile ref_file(file_name + ".ref"); - QVERIFY(ref_file.open(QIODevice::ReadOnly | QIODevice::Text)); - QString ref_file_contents = QString::fromUtf8(ref_file.readAll()); - - QEXPECT_FAIL(QFINDTESTDATA("xmldocs/not-wf/sa/145.xml").toLocal8Bit().constData(), "Surrogate code point 0xD800 should be rejected", Continue); - - QCOMPARE(parser.result(), ref_file_contents); -} - -void tst_QXmlSimpleReader::testIncrementalParsing_data() -{ - QTest::addColumn("file_name"); - QTest::addColumn("chunkSize"); - - const char * const good_data_dirs[] = { - "xmldocs/valid/sa", - "xmldocs/valid/not-sa", - "xmldocs/valid/ext-sa", - 0 - }; - const char * const *d = good_data_dirs; - - QStringList good_file_list; - for (; *d != 0; ++d) - good_file_list += findXmlFiles(*d); - - for (int i=1; i<10; ++i) { - QStringList::const_iterator it = good_file_list.begin(); - const QString skip49 = QFINDTESTDATA("xmldocs/valid/sa/049.xml"); - const QString skip50 = QFINDTESTDATA("xmldocs/valid/sa/050.xml"); - const QString skip51 = QFINDTESTDATA("xmldocs/valid/sa/051.xml"); - const QString skip52 = QFINDTESTDATA("xmldocs/valid/sa/052.xml"); - const QString skip89 = QFINDTESTDATA("xmldocs/valid/sa/089.xml"); - - for (; it != good_file_list.end(); ++it) { - if ( *it == skip89 ) - continue;// TODO: fails at the moment -- don't bother - if ( i==1 && ( - *it == skip49 || - *it == skip50 || - *it == skip51 || - *it == skip52 ) ) { - continue; // TODO: fails at the moment -- don't bother - } - QTest::newRow(QString("%1 %2").arg(*it).arg(i).toLatin1()) << *it << i; - } - } -} - -void tst_QXmlSimpleReader::testIncrementalParsing() -{ - QFETCH(QString, file_name); - QFETCH(int, chunkSize); - - QFile file(file_name); - QVERIFY(file.open(QIODevice::ReadOnly)); - - Parser parser; - QXmlInputSource source; - bool first = true; - while (!file.atEnd()) { - source.setData(file.read(chunkSize)); - if(first) { - QVERIFY(parser.parse(&source, true)); - first = false; - } else { - QVERIFY(parser.parseContinue()); - } - } - // detect end of document - QVERIFY(parser.parseContinue()); - // parsing should fail after the end of the document was reached - QVERIFY(!parser.parseContinue()); - - QFile ref_file(file_name + ".ref"); - QVERIFY(ref_file.open(QIODevice::ReadOnly | QIODevice::Text)); - QString ref_file_contents = QString::fromUtf8(ref_file.readAll()); - - QCOMPARE(parser.result(), ref_file_contents); -} - -void tst_QXmlSimpleReader::setDataQString() -{ - QString input = inputString; - QString ref = refString; - - QXmlInputSource source; - Parser parser; - - source.setData(input); - QVERIFY(parser.parse(&source,false)); - - QBuffer resultBuffer; - resultBuffer.setData(parser.result().toLatin1()); - - QBuffer refBuffer; - refBuffer.setData(ref.toLatin1()); - - resultBuffer.open(QIODevice::ReadOnly); - refBuffer.open(QIODevice::ReadOnly); - - bool success = true; - while (resultBuffer.canReadLine()) { - if (!refBuffer.canReadLine()) { - success = false; break ; - } - if (resultBuffer.readLine().simplified() != refBuffer.readLine().simplified()) { - success = false; break ; - } - } - QVERIFY(success); -} - -void tst_QXmlSimpleReader::inputFromQIODevice() -{ - QBuffer inputBuffer; - inputBuffer.setData(inputString); - - QXmlInputSource source(&inputBuffer); - Parser parser; - - QVERIFY(parser.parse(&source,false)); - - QBuffer resultBuffer; - resultBuffer.setData(parser.result().toLatin1()); - - QBuffer refBuffer; - refBuffer.setData(refString); - - resultBuffer.open(QIODevice::ReadOnly); - refBuffer.open(QIODevice::ReadOnly); - - bool success = true; - while (resultBuffer.canReadLine()) { - if (!refBuffer.canReadLine()) { - success = false; break ; - } - if (resultBuffer.readLine().simplified() != refBuffer.readLine().simplified()) { - success = false; break ; - } - } - QVERIFY(success); -} - -void tst_QXmlSimpleReader::inputFromString() -{ - QString str = "kakeja"; - QBuffer buff; - buff.setData((char*)str.utf16(), str.size()*sizeof(ushort)); - - QXmlInputSource input(&buff); - - QXmlSimpleReader reader; - QXmlDefaultHandler handler; - reader.setContentHandler(&handler); - - QVERIFY(reader.parse(&input)); -} - -void tst_QXmlSimpleReader::inputFromSocket_data() -{ - QStringList files = findXmlFiles(QLatin1String("encodings")); - QVERIFY(files.count() > 0); - - QTest::addColumn("file_name"); - - foreach (const QString &file_name, files) - QTest::newRow(file_name.toLatin1()) << file_name; -} - -void tst_QXmlSimpleReader::inputFromSocket() -{ - QFETCH(QString, file_name); - - if (!server->threadStarted.tryAcquire(1, 15000)) { - // If something is wrong with QThreads, it's not a reason to fail - // XML-test, we are not testing QThread here after all! - QSKIP("XmlServer/thread has not started yet"); - } - - // Subsequent runs should be able to acquire the semaphore. - server->threadStarted.release(1); - - if (!server->listening) { - // Again, QTcpServer is not the subject of this test! - QSKIP("QTcpServer::listen failed, bailing out"); - } - - QTcpSocket sock; - sock.connectToHost(QHostAddress::LocalHost, TEST_PORT); - QVERIFY2(sock.waitForConnected(), - qPrintable(QStringLiteral("Cannot connect on port ") + QString::number(TEST_PORT) - + QStringLiteral(": ") + sock.errorString())); - - sock.write(file_name.toLocal8Bit() + "\n"); - QVERIFY(sock.waitForBytesWritten()); - - QXmlInputSource input(&sock); - - QXmlSimpleReader reader; - QXmlDefaultHandler handler; - reader.setContentHandler(&handler); - - QVERIFY(reader.parse(&input)); - -// qDebug() << "tst_QXmlSimpleReader::inputFromSocket(): success" << file_name; -} - -void tst_QXmlSimpleReader::preserveCharacterReferences() const -{ - class Handler : public QXmlDefaultHandler - { - public: - virtual bool characters(const QString &chars) - { - received = chars; - return true; - } - - QString received; - }; - - { - QByteArray input("A    A"); - - QBuffer buff(&input); - QXmlInputSource source(&buff); - - Handler h; - QXmlSimpleReader reader; - reader.setContentHandler(&h); - QVERIFY(reader.parse(&source, false)); - - QCOMPARE(h.received, QLatin1Char('A') + QString(4, QChar(160)) + QLatin1Char('A')); - } - - { - QByteArray input("    "); - - QBuffer buff(&input); - QXmlInputSource source(&buff); - - Handler h; - QXmlSimpleReader reader; - reader.setContentHandler(&h); - QVERIFY(reader.parse(&source, false)); - - QCOMPARE(h.received, QString(4, QChar(160))); - } -} - -void tst_QXmlSimpleReader::reportNamespace() const -{ - class Handler : public QXmlDefaultHandler - { - public: - virtual bool startElement(const QString &namespaceURI, - const QString &localName, - const QString &qName, - const QXmlAttributes &) - { - startNamespaceURI = namespaceURI; - startLocalName = localName; - startQName = qName; - - return true; - } - - virtual bool endElement(const QString &namespaceURI, - const QString &localName, - const QString &qName) - { - endNamespaceURI = namespaceURI; - endLocalName = localName; - endQName = qName; - - return true; - } - - QString startLocalName; - QString startQName; - QString startNamespaceURI; - QString endLocalName; - QString endQName; - QString endNamespaceURI; - }; - - QXmlSimpleReader reader; - Handler handler; - reader.setContentHandler(&handler); - - QFETCH(QByteArray, input); - - QBuffer buffer(&input); - QVERIFY(buffer.open(QIODevice::ReadOnly)); - - QXmlInputSource source(&buffer); - QVERIFY(reader.parse(source)); - - QFETCH(QString, expectedQName); - QFETCH(QString, expectedLocalName); - QFETCH(QString, expectedNamespace); - - QCOMPARE(handler.startNamespaceURI, expectedNamespace); - QCOMPARE(handler.startLocalName, expectedLocalName); - QCOMPARE(handler.startQName, expectedQName); - - QCOMPARE(handler.endNamespaceURI, expectedNamespace); - QCOMPARE(handler.endLocalName, expectedLocalName); - QCOMPARE(handler.endQName, expectedQName); -} - -void tst_QXmlSimpleReader::reportNamespace_data() const -{ - QTest::addColumn("input"); - QTest::addColumn("expectedQName"); - QTest::addColumn("expectedLocalName"); - QTest::addColumn("expectedNamespace"); - - QTest::newRow("default ns") << QByteArray("") - << QString("element") - << QString("element") - << QString("http://example.com/"); - - QTest::newRow("with prefix") << QByteArray("") - << QString("p:element") - << QString("element") - << QString("http://example.com/"); -} - -QDomDocument tst_QXmlSimpleReader::fromByteArray(const QString &title, const QByteArray &ba, bool *ok) -{ - QDomDocument doc(title); - *ok = doc.setContent(ba, true); - return doc; -} - -void tst_QXmlSimpleReader::roundtripWithNamespaces() const -{ - const char *const expected = "\n"; - bool ok; - - { - const char *const xml = ""; - - const QDomDocument one(fromByteArray("document", xml, &ok)); - QVERIFY(ok); - const QDomDocument two(fromByteArray("document2", one.toByteArray(2), &ok)); - QVERIFY(ok); - - QEXPECT_FAIL("", "Known problem, see 154573. The fix happens to break uic.", Abort); - - QCOMPARE(expected, one.toByteArray().constData()); - QCOMPARE(one.toByteArray(2).constData(), two.toByteArray(2).constData()); - QCOMPARE(two.toByteArray(2).constData(), two.toByteArray(2).constData()); - } - - { - const char *const xml = ""; - - const QDomDocument one(fromByteArray("document", xml, &ok)); - QVERIFY(ok); - const QDomDocument two(fromByteArray("document2", one.toByteArray(2), &ok)); - QVERIFY(ok); - - QCOMPARE(expected, one.toByteArray().constData()); - QCOMPARE(one.toByteArray(2).constData(), two.toByteArray(2).constData()); - QCOMPARE(two.toByteArray(2).constData(), two.toByteArray(2).constData()); - } -} - -class TestHandler : public QXmlDefaultHandler -{ -public: - TestHandler() : - recursionCount(0) - { - } - - bool internalEntityDecl(const QString &name, const QString &value) - { - ++recursionCount; - return QXmlDefaultHandler::internalEntityDecl(name, value); - } - - int recursionCount; -}; - -void tst_QXmlSimpleReader::dtdRecursionLimit() -{ - QFile file(QFINDTESTDATA("xmldocs/2-levels-nested-dtd.xml")); - QVERIFY(file.open(QIODevice::ReadOnly)); - QXmlSimpleReader xmlReader; - { - QXmlInputSource source(&file); - TestHandler handler; - xmlReader.setDeclHandler(&handler); - xmlReader.setErrorHandler(&handler); - QVERIFY(!xmlReader.parse(&source)); - } - - file.close(); - file.setFileName(QFINDTESTDATA("xmldocs/1-levels-nested-dtd.xml")); - QVERIFY(file.open(QIODevice::ReadOnly)); - { - QXmlInputSource source(&file); - TestHandler handler; - xmlReader.setDeclHandler(&handler); - xmlReader.setErrorHandler(&handler); - QVERIFY(!xmlReader.parse(&source)); - // The error wasn't because of the recursion limit being reached, - // it was because the document is not valid. - QVERIFY(handler.recursionCount < 2); - } - - file.close(); - file.setFileName(QFINDTESTDATA("xmldocs/internal-entity-polynomial-attribute.xml")); - QVERIFY(file.open(QIODevice::ReadOnly)); - { - QXmlInputSource source(&file); - TestHandler handler; - xmlReader.setDeclHandler(&handler); - xmlReader.setErrorHandler(&handler); - QVERIFY(!xmlReader.parse(&source)); - QCOMPARE(handler.recursionCount, 2); - } -} - -QT_WARNING_POP -#endif // QT_DEPRECATED_SINCE(5, 15) - -QTEST_MAIN(tst_QXmlSimpleReader) -#include "tst_qxmlsimplereader.moc" diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/1-levels-nested-dtd.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/1-levels-nested-dtd.xml deleted file mode 100644 index 0dfc15b165..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/1-levels-nested-dtd.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - -]> - \ No newline at end of file diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/2-levels-nested-dtd.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/2-levels-nested-dtd.xml deleted file mode 100644 index 7ec06db85f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/2-levels-nested-dtd.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/internal-entity-polynomial-attribute.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/internal-entity-polynomial-attribute.xml deleted file mode 100644 index bbb88f39f6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/internal-entity-polynomial-attribute.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - -]> - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/001.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/001.xml deleted file mode 100644 index d33ec68dcd..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/001.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/001.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/001.xml.ref deleted file mode 100644 index e0fa20f83d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/001.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - fatalError(exception={columnNumber=1, lineNumber=3, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/002.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/002.xml deleted file mode 100644 index 0a64d52428..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/002.xml +++ /dev/null @@ -1,4 +0,0 @@ - -<.doc> - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/002.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/002.xml.ref deleted file mode 100644 index 8ebfac2a80..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/002.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - fatalError(exception={columnNumber=2, lineNumber=2, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/003.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/003.xml deleted file mode 100644 index e0b8bae4a4..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/003.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/003.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/003.xml.ref deleted file mode 100644 index 988690b883..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/003.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=8, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/004.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/004.xml deleted file mode 100644 index e85bc96e56..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/004.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/004.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/004.xml.ref deleted file mode 100644 index 0085dfefe6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/004.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=1, lineNumber=2, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/005.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/005.xml deleted file mode 100644 index 7cd44ef10c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/005.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/005.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/005.xml.ref deleted file mode 100644 index 0085dfefe6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/005.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=1, lineNumber=2, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/006.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/006.xml deleted file mode 100644 index 8594c35cc7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/006.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/006.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/006.xml.ref deleted file mode 100644 index 3d07b93d8e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/006.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=23, lineNumber=1, publicId="", systemId="", message="error occurred while parsing comment"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/007.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/007.xml deleted file mode 100644 index 286756fdd5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/007.xml +++ /dev/null @@ -1 +0,0 @@ -& no refc diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/007.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/007.xml.ref deleted file mode 100644 index bbd182b7f7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/007.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=10, lineNumber=1, publicId="", systemId="", message="error occurred while parsing reference"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/008.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/008.xml deleted file mode 100644 index 29ef40306b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/008.xml +++ /dev/null @@ -1 +0,0 @@ -&.entity; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/008.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/008.xml.ref deleted file mode 100644 index 19d21b4b3e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/008.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=7, lineNumber=1, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/009.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/009.xml deleted file mode 100644 index 8e3ff7de10..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/009.xml +++ /dev/null @@ -1 +0,0 @@ -&#RE; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/009.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/009.xml.ref deleted file mode 100644 index a885634000..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/009.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=8, lineNumber=1, publicId="", systemId="", message="error occurred while parsing reference"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/010.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/010.xml deleted file mode 100644 index a6790846c9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/010.xml +++ /dev/null @@ -1 +0,0 @@ -A & B diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/010.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/010.xml.ref deleted file mode 100644 index 7db0ddb551..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/010.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=9, lineNumber=1, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/011.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/011.xml deleted file mode 100644 index 57eaf9fc48..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/011.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/011.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/011.xml.ref deleted file mode 100644 index bb837957be..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/011.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=8, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/012.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/012.xml deleted file mode 100644 index 1b2539ffa6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/012.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/012.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/012.xml.ref deleted file mode 100644 index 333fb0db76..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/012.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=9, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/013.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/013.xml deleted file mode 100644 index 3540df9143..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/013.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/014.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/014.xml.ref deleted file mode 100644 index a9230f2d7c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/014.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=10, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/015.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/015.xml deleted file mode 100644 index f2baf947b5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/015.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/015.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/015.xml.ref deleted file mode 100644 index 333fb0db76..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/015.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=9, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/016.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/016.xml deleted file mode 100644 index 22d4b2e265..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/016.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/016.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/016.xml.ref deleted file mode 100644 index e47a79ca68..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/016.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=14, lineNumber=1, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/017.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/017.xml deleted file mode 100644 index a76f5929e9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/017.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/017.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/017.xml.ref deleted file mode 100644 index 0085dfefe6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/017.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=1, lineNumber=2, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/018.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/018.xml deleted file mode 100644 index 66e204acc4..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/018.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/018.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/018.xml.ref deleted file mode 100644 index 651fa05573..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/018.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=14, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/019.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/019.xml deleted file mode 100644 index b835c2d752..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/019.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/019.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/019.xml.ref deleted file mode 100644 index 9196faad6d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/019.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=8, lineNumber=1, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/020.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/020.xml deleted file mode 100644 index b30cfcfc10..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/020.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/020.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/020.xml.ref deleted file mode 100644 index f52f775f12..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/020.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=13, lineNumber=1, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/021.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/021.xml deleted file mode 100644 index 1bfa84aa64..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/021.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/021.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/021.xml.ref deleted file mode 100644 index 02ae4699b6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/021.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=13, lineNumber=1, publicId="", systemId="", message="error occurred while parsing reference"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/022.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/022.xml deleted file mode 100644 index 44c803bf1b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/022.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/022.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/022.xml.ref deleted file mode 100644 index 42bf38f488..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/022.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=15, lineNumber=1, publicId="", systemId="", message="error occurred while parsing reference"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/023.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/023.xml deleted file mode 100644 index b877ae2a6b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/023.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/023.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/023.xml.ref deleted file mode 100644 index 94f5cfa68c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/023.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=6, lineNumber=1, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/024.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/024.xml deleted file mode 100644 index cf68f2c073..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/024.xml +++ /dev/null @@ -1,3 +0,0 @@ - -<123> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/024.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/024.xml.ref deleted file mode 100644 index 8ebfac2a80..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/024.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - fatalError(exception={columnNumber=2, lineNumber=2, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/025.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/025.xml deleted file mode 100644 index 6cba95cd78..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/025.xml +++ /dev/null @@ -1 +0,0 @@ -]]> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/025.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/025.xml.ref deleted file mode 100644 index 8f5d812e49..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/025.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=8, lineNumber=1, publicId="", systemId="", message="error occurred while parsing content"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/026.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/026.xml deleted file mode 100644 index 347984fa73..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/026.xml +++ /dev/null @@ -1 +0,0 @@ -]]]> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/026.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/026.xml.ref deleted file mode 100644 index 3d0c743f13..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/026.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=9, lineNumber=1, publicId="", systemId="", message="error occurred while parsing content"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/027.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/027.xml deleted file mode 100644 index cfafaf0d70..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/027.xml +++ /dev/null @@ -1,3 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/032.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/032.xml.ref deleted file mode 100644 index a85cab71f0..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/032.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - comment(ch=" a form feed ( ) is not allowed in a comment ") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/033.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/033.xml deleted file mode 100644 index afd2328402..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/033.xml +++ /dev/null @@ -1 +0,0 @@ -abcdef diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/033.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/033.xml.ref deleted file mode 100644 index a059f8e0b2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/033.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="abcdef") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/034.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/034.xml deleted file mode 100644 index d74a77719b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/034.xml +++ /dev/null @@ -1 +0,0 @@ -A form-feed is not white space or a name character diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/034.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/034.xml.ref deleted file mode 100644 index 723dc1aa00..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/034.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=5, lineNumber=1, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/035.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/035.xml deleted file mode 100644 index e1fc920522..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/035.xml +++ /dev/null @@ -1 +0,0 @@ -1 < 2 but not in XML diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/035.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/035.xml.ref deleted file mode 100644 index 6ca9412864..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/035.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="1 ") - fatalError(exception={columnNumber=9, lineNumber=1, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/036.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/036.xml deleted file mode 100644 index b8ecb21ba1..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/036.xml +++ /dev/null @@ -1,2 +0,0 @@ - -Illegal data diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/036.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/036.xml.ref deleted file mode 100644 index 5341fe5c8a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/036.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") - fatalError(exception={columnNumber=1, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/037.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/037.xml deleted file mode 100644 index 2e02662926..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/037.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/037.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/037.xml.ref deleted file mode 100644 index 5341fe5c8a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/037.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") - fatalError(exception={columnNumber=1, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/038.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/038.xml deleted file mode 100644 index 68b2803f82..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/038.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/038.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/038.xml.ref deleted file mode 100644 index 914f7edc6a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/038.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="x", qName="x", uri="", type="CDATA", value="foo"}, {localName="y", qName="y", uri="", type="CDATA", value="bar"}, {localName="x", qName="x", uri="", type="CDATA", value="baz"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/039.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/039.xml deleted file mode 100644 index 80429e3e40..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/039.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/039.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/039.xml.ref deleted file mode 100644 index 82a67116c1..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/039.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startElement(namespaceURI="", localName="a", qName="a", atts=[]) - fatalError(exception={columnNumber=13, lineNumber=1, publicId="", systemId="", message="tag mismatch"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/040.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/040.xml deleted file mode 100644 index dc8ba5a434..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/040.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/040.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/040.xml.ref deleted file mode 100644 index a28c24ab56..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/040.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") - fatalError(exception={columnNumber=2, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/041.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/041.xml deleted file mode 100644 index 30bcdd6bfe..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/041.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/041.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/041.xml.ref deleted file mode 100644 index a28c24ab56..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/041.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") - fatalError(exception={columnNumber=2, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/042.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/042.xml deleted file mode 100644 index 4ae50efc7b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/042.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/042.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/042.xml.ref deleted file mode 100644 index 493c67a337..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/042.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") - fatalError(exception={columnNumber=8, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/043.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/043.xml deleted file mode 100644 index 41824eee4b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/043.xml +++ /dev/null @@ -1,2 +0,0 @@ - -Illegal data diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/043.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/043.xml.ref deleted file mode 100644 index 5341fe5c8a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/043.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") - fatalError(exception={columnNumber=1, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/044.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/044.xml deleted file mode 100644 index 3fc232dc37..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/044.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/044.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/044.xml.ref deleted file mode 100644 index 493c67a337..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/044.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") - fatalError(exception={columnNumber=8, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/045.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/045.xml deleted file mode 100644 index 00c10f00bf..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/045.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/045.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/045.xml.ref deleted file mode 100644 index d030deb272..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/045.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - startElement(namespaceURI="", localName="a", qName="a", atts=[]) - endElement(namespaceURI="", localName="a", qName="a") - fatalError(exception={columnNumber=4, lineNumber=2, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/046.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/046.xml deleted file mode 100644 index 265cb15301..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/046.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/046.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/046.xml.ref deleted file mode 100644 index d030deb272..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/046.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - startElement(namespaceURI="", localName="a", qName="a", atts=[]) - endElement(namespaceURI="", localName="a", qName="a") - fatalError(exception={columnNumber=4, lineNumber=2, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/047.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/047.xml deleted file mode 100644 index d18a4a4440..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/047.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/047.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/047.xml.ref deleted file mode 100644 index 4693ac42c3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/047.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - startElement(namespaceURI="", localName="a", qName="a", atts=[]) - endElement(namespaceURI="", localName="a", qName="a") - fatalError(exception={columnNumber=5, lineNumber=2, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/048.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/048.xml deleted file mode 100644 index 67419c1ed5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/048.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/048.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/048.xml.ref deleted file mode 100644 index f8e19b6108..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/048.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - endElement(namespaceURI="", localName="doc", qName="doc") - fatalError(exception={columnNumber=3, lineNumber=3, publicId="", systemId="", message="error occurred while parsing comment"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/049.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/049.xml deleted file mode 100644 index 3cf0e79422..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/049.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/049.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/049.xml.ref deleted file mode 100644 index 1d89054d77..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/049.xml.ref +++ /dev/null @@ -1,14 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - startElement(namespaceURI="", localName="a", qName="a", atts=[]) - startCDATA() - characters(ch="xyz]") - endCDATA() - endElement(namespaceURI="", localName="a", qName="a") - characters(ch="\r\n") - startCDATA() - characters(ch="") - endCDATA() - fatalError(exception={columnNumber=16, lineNumber=3, publicId="", systemId="", message="tag mismatch"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/050.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/050.xml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/050.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/050.xml.ref deleted file mode 100644 index 2a3b59e093..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/050.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=1, lineNumber=1, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/051.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/051.xml deleted file mode 100644 index b52df12cc4..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/051.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/051.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/051.xml.ref deleted file mode 100644 index 71c3e0d2f9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/051.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - comment(ch=" a comment ") - fatalError(exception={columnNumber=3, lineNumber=2, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/052.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/052.xml deleted file mode 100644 index 8283895990..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/052.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/052.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/052.xml.ref deleted file mode 100644 index 42126fdb25..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/052.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - comment(ch=" a comment ") - fatalError(exception={columnNumber=1, lineNumber=2, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/053.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/053.xml deleted file mode 100644 index 9d7f36920f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/053.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/053.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/053.xml.ref deleted file mode 100644 index 515dd0b446..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/053.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=11, lineNumber=1, publicId="", systemId="", message="tag mismatch"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/054.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/054.xml deleted file mode 100644 index eda553c6d3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/054.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/054.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/054.xml.ref deleted file mode 100644 index 18412e39b2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/054.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=37, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/055.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/055.xml deleted file mode 100644 index cbb3683a9d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/055.xml +++ /dev/null @@ -1,2 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/055.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/055.xml.ref deleted file mode 100644 index 3e1e132b5e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/055.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=2, lineNumber=2, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/056.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/056.xml deleted file mode 100644 index a681684c58..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/056.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/056.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/056.xml.ref deleted file mode 100644 index 938a47c172..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/056.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=15, lineNumber=1, publicId="", systemId="", message="error occurred while parsing document type definition"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/057.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/057.xml deleted file mode 100644 index 848d347120..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/057.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/057.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/057.xml.ref deleted file mode 100644 index 28576a7fdf..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/057.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="whatever") - fatalError(exception={columnNumber=23, lineNumber=2, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/058.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/058.xml deleted file mode 100644 index daba266af2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/058.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/058.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/058.xml.ref deleted file mode 100644 index aa3101b7ef..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/058.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=22, lineNumber=3, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/059.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/059.xml deleted file mode 100644 index 316083dc25..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/059.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/059.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/059.xml.ref deleted file mode 100644 index d0c60b2bf5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/059.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=26, lineNumber=3, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/060.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/060.xml deleted file mode 100644 index 9a610fd38f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/060.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/060.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/060.xml.ref deleted file mode 100644 index 22f1636205..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/060.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=19, lineNumber=3, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/061.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/061.xml deleted file mode 100644 index 59181e706f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/061.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/061.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/061.xml.ref deleted file mode 100644 index d49ec689aa..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/061.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=29, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/062.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/062.xml deleted file mode 100644 index e62e9cd370..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/062.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/062.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/062.xml.ref deleted file mode 100644 index 2388c50c2b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/062.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=13, lineNumber=2, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/063.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/063.xml deleted file mode 100644 index 98675b9040..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/063.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/063.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/063.xml.ref deleted file mode 100644 index c0c9152f3e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/063.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=3, lineNumber=2, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/064.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/064.xml deleted file mode 100644 index 3888c46b8b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/064.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/064.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/064.xml.ref deleted file mode 100644 index 11ba2bdc47..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/064.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=21, lineNumber=3, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/065.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/065.xml deleted file mode 100644 index da9cafd137..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/065.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/065.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/065.xml.ref deleted file mode 100644 index c91f8597df..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/065.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=17, lineNumber=3, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/066.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/066.xml deleted file mode 100644 index 9c09eb4e5d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/066.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/066.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/066.xml.ref deleted file mode 100644 index f044a71dd9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/066.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=27, lineNumber=3, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/067.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/067.xml deleted file mode 100644 index 7e0809bd34..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/067.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/067.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/067.xml.ref deleted file mode 100644 index 519e67fc02..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/067.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=23, lineNumber=3, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/068.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/068.xml deleted file mode 100644 index 53a80a83a8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/068.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/068.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/068.xml.ref deleted file mode 100644 index aa7a9e3957..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/068.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=26, lineNumber=3, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/069.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/069.xml deleted file mode 100644 index 6f891dd5e1..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/069.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/069.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/069.xml.ref deleted file mode 100644 index 4d729c5075..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/069.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - notationDecl(name="eps", publicId="", systemId="eps.exe") - comment(ch=" missing space before NDATA ") - fatalError(exception={columnNumber=30, lineNumber=4, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/070.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/070.xml deleted file mode 100644 index faf4b0ae4c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/070.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/070.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/070.xml.ref deleted file mode 100644 index f24226f8e5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/070.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=43, lineNumber=1, publicId="", systemId="", message="error occurred while parsing comment"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/071.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/071.xml deleted file mode 100644 index 5bd3908968..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/071.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> -&e1; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/071.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/071.xml.ref deleted file mode 100644 index da8c9347b2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/071.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e1", value="&e2;") - internatlEntityDecl(name="e2", value="&e3;") - internatlEntityDecl(name="e3", value="&e1;") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=9, lineNumber=6, publicId="", systemId="", message="recursive entities"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/072.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/072.xml deleted file mode 100644 index 743ba79429..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/072.xml +++ /dev/null @@ -1 +0,0 @@ -&foo; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/072.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/072.xml.ref deleted file mode 100644 index 48fd72baf3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/072.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - skippedEntity(name="foo") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/073.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/073.xml deleted file mode 100644 index 2578af42ec..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/073.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -&f; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/073.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/073.xml.ref deleted file mode 100644 index b60c7d49ac..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/073.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="whatever") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - skippedEntity(name="f") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/074.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/074.xml deleted file mode 100644 index f8abaeb22c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/074.xml +++ /dev/null @@ -1,6 +0,0 @@ -"> -]> - -&e; - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/074.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/074.xml.ref deleted file mode 100644 index df8552d646..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/074.xml.ref +++ /dev/null @@ -1,14 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - endElement(namespaceURI="", localName="foo", qName="foo") - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - endElement(namespaceURI="", localName="foo", qName="foo") - characters(ch="\r\n") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/075.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/075.xml deleted file mode 100644 index d3dbf50ed6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/075.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - -]> - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/075.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/075.xml.ref deleted file mode 100644 index 5d8b1797b5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/075.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e1", value="&e2;") - internatlEntityDecl(name="e2", value="&e3;") - internatlEntityDecl(name="e3", value="&e1;") - endDTD() - fatalError(exception={columnNumber=12, lineNumber=6, publicId="", systemId="", message="recursive entities"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/076.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/076.xml deleted file mode 100644 index 60546720e7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/076.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/076.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/076.xml.ref deleted file mode 100644 index 6a8b31965b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/076.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - skippedEntity(name="foo") - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value=""}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/077.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/077.xml deleted file mode 100644 index f8ac23a5a2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/077.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/077.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/077.xml.ref deleted file mode 100644 index 4458152467..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/077.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="foo", value="&bar;") - endDTD() - skippedEntity(name="bar") - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value=""}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/078.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/078.xml deleted file mode 100644 index 446cd85ef9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/078.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/078.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/078.xml.ref deleted file mode 100644 index 985f71ca2b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/078.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - skippedEntity(name="foo") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/079.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/079.xml deleted file mode 100644 index da016fd3b2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/079.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/079.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/079.xml.ref deleted file mode 100644 index a59833714d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/079.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e1", value="&e2;") - internatlEntityDecl(name="e2", value="&e3;") - internatlEntityDecl(name="e3", value="&e1;") - fatalError(exception={columnNumber=27, lineNumber=6, publicId="", systemId="", message="recursive entities"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/080.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/080.xml deleted file mode 100644 index fa4b9e428d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/080.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/080.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/080.xml.ref deleted file mode 100644 index 13ee47bdf4..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/080.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e1", value="&e2;") - internatlEntityDecl(name="e2", value="&e3;") - internatlEntityDecl(name="e3", value="&e1;") - fatalError(exception={columnNumber=34, lineNumber=6, publicId="", systemId="", message="recursive entities"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/081.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/081.xml deleted file mode 100644 index d676100e8a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/081.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/081.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/081.xml.ref deleted file mode 100644 index 4d386e4f34..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/081.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - externalEntityDecl(name="e", publicId="", systemId="nul") - endDTD() - fatalError(exception={columnNumber=11, lineNumber=4, publicId="", systemId="", message="external parsed general entity reference not allowed in attribute value"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/082.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/082.xml deleted file mode 100644 index 3217d6f8b4..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/082.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/082.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/082.xml.ref deleted file mode 100644 index eb81754e50..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/082.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - externalEntityDecl(name="e", publicId="", systemId="nul") - fatalError(exception={columnNumber=26, lineNumber=4, publicId="", systemId="", message="external parsed general entity reference not allowed in attribute value"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/083.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/083.xml deleted file mode 100644 index 469d43fd42..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/083.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/083.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/083.xml.ref deleted file mode 100644 index ac1caa8f9c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/083.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - unparsedEntityDecl(name="e", publicId="", systemId="nul", notationName="n") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=8, lineNumber=4, publicId="", systemId="", message="unparsed entity reference in wrong context"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/084.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/084.xml deleted file mode 100644 index abbbcdea69..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/084.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/084.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/084.xml.ref deleted file mode 100644 index 9f69b94ccf..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/084.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - unparsedEntityDecl(name="e", publicId="", systemId="nul", notationName="n") - fatalError(exception={columnNumber=26, lineNumber=4, publicId="", systemId="", message="unparsed entity reference in wrong context"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/085.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/085.xml deleted file mode 100644 index ac0aeca3e4..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/085.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/085.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/085.xml.ref deleted file mode 100644 index 4db671e035..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/085.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="[", systemId="null.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/086.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/086.xml deleted file mode 100644 index df6adfd884..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/086.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/086.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/086.xml.ref deleted file mode 100644 index 6254d59e0f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/086.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - externalEntityDecl(name="foo", publicId="[", systemId="null.xml") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/087.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/087.xml deleted file mode 100644 index ed49492a7a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/087.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/087.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/087.xml.ref deleted file mode 100644 index 8ec0ab3a12..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/087.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - notationDecl(name="foo", publicId="[", systemId="null.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/088.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/088.xml deleted file mode 100644 index da0a68c401..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/088.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/089.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/089.xml.ref deleted file mode 100644 index 910213bf13..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/089.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - externalEntityDecl(name="%foo", publicId="", systemId="foo.xml") - fatalError(exception={columnNumber=33, lineNumber=2, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/090.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/090.xml deleted file mode 100644 index 3fb72f3cc0..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/090.xml +++ /dev/null @@ -1,4 +0,0 @@ -"> -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/090.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/090.xml.ref deleted file mode 100644 index bc4280aa82..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/090.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=8, lineNumber=4, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/091.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/091.xml deleted file mode 100644 index a61d0914f8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/091.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/091.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/091.xml.ref deleted file mode 100644 index c89444077e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/091.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - notationDecl(name="n", publicId="", systemId="n") - externalEntityDecl(name="%foo", publicId="", systemId="foo.xml") - fatalError(exception={columnNumber=33, lineNumber=3, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/092.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/092.xml deleted file mode 100644 index be5266dada..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/092.xml +++ /dev/null @@ -1,4 +0,0 @@ -"> -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/092.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/092.xml.ref deleted file mode 100644 index 4469beb325..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/092.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=8, lineNumber=4, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/093.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/093.xml deleted file mode 100644 index 4af61bc645..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/093.xml +++ /dev/null @@ -1 +0,0 @@ -X diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/093.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/093.xml.ref deleted file mode 100644 index a885634000..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/093.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=8, lineNumber=1, publicId="", systemId="", message="error occurred while parsing reference"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/094.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/094.xml deleted file mode 100644 index bdec7a4660..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/094.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/094.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/094.xml.ref deleted file mode 100644 index f37fb5877f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/094.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=20, lineNumber=1, publicId="", systemId="", message="version expected while reading the XML declaration"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/095.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/095.xml deleted file mode 100644 index 090b8b4eec..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/095.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/095.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/095.xml.ref deleted file mode 100644 index 8852f79579..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/095.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=23, lineNumber=1, publicId="", systemId="", message="version expected while reading the XML declaration"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/096.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/096.xml deleted file mode 100644 index d806c3b952..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/096.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/096.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/096.xml.ref deleted file mode 100644 index ddca718431..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/096.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=20, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/097.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/097.xml deleted file mode 100644 index d4def544b0..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/097.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/097.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/097.xml.ref deleted file mode 100644 index 962de94d11..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/097.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=31, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/098.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/098.xml deleted file mode 100644 index 9798496aa3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/098.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/098.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/098.xml.ref deleted file mode 100644 index c1665a4f03..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/098.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=34, lineNumber=1, publicId="", systemId="", message="encoding declaration or standalone declaration expected while reading the XML declaration"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/099.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/099.xml deleted file mode 100644 index d5be08eff0..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/099.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/099.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/099.xml.ref deleted file mode 100644 index 2d4e8516bc..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/099.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=31, lineNumber=1, publicId="", systemId="", message="encoding declaration or standalone declaration expected while reading the XML declaration"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/100.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/100.xml deleted file mode 100644 index 51e06231c2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/100.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/100.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/100.xml.ref deleted file mode 100644 index eba06f283c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/100.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=37, lineNumber=1, publicId="", systemId="", message="wrong value for standalone declaration"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/101.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/101.xml deleted file mode 100644 index afa5a455fc..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/101.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/101.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/101.xml.ref deleted file mode 100644 index 068a6ae657..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/101.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="xml", data="version='1.0' encoding=' UTF-8'") - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/102.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/102.xml deleted file mode 100644 index 8734adaa6e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/102.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/102.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/102.xml.ref deleted file mode 100644 index 86b6ce0d3a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/102.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="xml", data="version='1.0 '") - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/103.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/103.xml deleted file mode 100644 index 6c4716798f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/103.xml +++ /dev/null @@ -1,4 +0,0 @@ -"> -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/103.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/103.xml.ref deleted file mode 100644 index 7a82f96305..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/103.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - fatalError(exception={columnNumber=14, lineNumber=4, publicId="", systemId="", message="tag mismatch"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/104.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/104.xml deleted file mode 100644 index dd57396239..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/104.xml +++ /dev/null @@ -1,4 +0,0 @@ -"> -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/104.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/104.xml.ref deleted file mode 100644 index 8059be12c8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/104.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - endElement(namespaceURI="", localName="foo", qName="foo") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/105.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/105.xml deleted file mode 100644 index 809e705870..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/105.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/105.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/105.xml.ref deleted file mode 100644 index ff94b32716..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/105.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="pi", data="stuff") - fatalError(exception={columnNumber=3, lineNumber=2, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/106.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/106.xml deleted file mode 100644 index d32319ef09..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/106.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/106.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/106.xml.ref deleted file mode 100644 index e5c6c6b6a7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/106.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="pi", data="data") - fatalError(exception={columnNumber=1, lineNumber=2, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/107.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/107.xml deleted file mode 100644 index 3dfd8200e2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/107.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/107.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/107.xml.ref deleted file mode 100644 index c0c9152f3e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/107.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=3, lineNumber=2, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/108.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/108.xml deleted file mode 100644 index af5cf50d48..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/108.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/108.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/108.xml.ref deleted file mode 100644 index 3be3623019..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/108.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - fatalError(exception={columnNumber=9, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/109.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/109.xml deleted file mode 100644 index 5afc03e8db..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/109.xml +++ /dev/null @@ -1,4 +0,0 @@ -"> -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/109.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/109.xml.ref deleted file mode 100644 index 13140d8022..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/109.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - fatalError(exception={columnNumber=1, lineNumber=4, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/110.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/110.xml deleted file mode 100644 index cf54ebe5c0..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/110.xml +++ /dev/null @@ -1,5 +0,0 @@ - -]> - -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/110.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/110.xml.ref deleted file mode 100644 index aa5b66c13f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/110.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") - fatalError(exception={columnNumber=1, lineNumber=5, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/111.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/111.xml deleted file mode 100644 index 84a469f5d1..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/111.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/111.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/111.xml.ref deleted file mode 100644 index d611ecd0df..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/111.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="foo='bar'") - endDTD() - fatalError(exception={columnNumber=6, lineNumber=4, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/112.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/112.xml deleted file mode 100644 index 0c5c1a4341..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/112.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/112.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/112.xml.ref deleted file mode 100644 index db6c1f3fe7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/112.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - fatalError(exception={columnNumber=4, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/113.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/113.xml deleted file mode 100644 index 04fc9d2318..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/113.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/113.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/113.xml.ref deleted file mode 100644 index af3a1378d1..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/113.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=18, lineNumber=2, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/114.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/114.xml deleted file mode 100644 index 1261ee49e1..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/114.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/114.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/114.xml.ref deleted file mode 100644 index 611a07b6a7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/114.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=16, lineNumber=2, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/115.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/115.xml deleted file mode 100644 index f111dbe153..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/115.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/115.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/115.xml.ref deleted file mode 100644 index d4a1b97e12..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/115.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="&") - endDTD() - fatalError(exception={columnNumber=12, lineNumber=4, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/116.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/116.xml deleted file mode 100644 index 84bb762fdf..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/116.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -&e;7; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/116.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/116.xml.ref deleted file mode 100644 index f69ee0b24e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/116.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value=" ") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="a") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/117.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/117.xml deleted file mode 100644 index e4a5e572ef..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/117.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -&e;#97; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/117.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/117.xml.ref deleted file mode 100644 index 9c54b53b28..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/117.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="&") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="a") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/118.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/118.xml deleted file mode 100644 index 494d53d208..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/118.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -&&e;97; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/118.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/118.xml.ref deleted file mode 100644 index 714b497120..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/118.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="#") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=7, lineNumber=4, publicId="", systemId="", message="error occurred while parsing reference"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/119.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/119.xml deleted file mode 100644 index aefaa44a1c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/119.xml +++ /dev/null @@ -1,6 +0,0 @@ - -]> - -&e;#38; - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/119.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/119.xml.ref deleted file mode 100644 index 625f318be6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/119.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="&") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n&\r\n") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/120.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/120.xml deleted file mode 100644 index b7d6ff9ce9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/120.xml +++ /dev/null @@ -1,6 +0,0 @@ - -]> - -&e; - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/120.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/120.xml.ref deleted file mode 100644 index 56edb37c66..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/120.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="&") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=4, lineNumber=5, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/121.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/121.xml deleted file mode 100644 index 2b4adcc6b4..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/121.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/121.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/121.xml.ref deleted file mode 100644 index a9f2c8f68d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/121.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=10, lineNumber=2, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/122.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/122.xml deleted file mode 100644 index ef0b057cee..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/122.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/122.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/122.xml.ref deleted file mode 100644 index 37b53fc0b3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/122.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/123.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/123.xml deleted file mode 100644 index 06d65f045b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/123.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/123.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/123.xml.ref deleted file mode 100644 index 66978b93a8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/123.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=23, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/124.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/124.xml deleted file mode 100644 index 3bbe0f91a6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/124.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/124.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/124.xml.ref deleted file mode 100644 index dc05a44ce5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/124.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=20, lineNumber=2, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/125.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/125.xml deleted file mode 100644 index 5f9c22c0c6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/125.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/125.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/125.xml.ref deleted file mode 100644 index b60c5515b1..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/125.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=17, lineNumber=2, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/126.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/126.xml deleted file mode 100644 index 13e74d6d5e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/126.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/126.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/126.xml.ref deleted file mode 100644 index 03465a21d5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/126.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=24, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/127.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/127.xml deleted file mode 100644 index a379b9e539..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/127.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/127.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/127.xml.ref deleted file mode 100644 index 03465a21d5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/127.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=24, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/128.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/128.xml deleted file mode 100644 index dd706bb21f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/128.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/128.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/128.xml.ref deleted file mode 100644 index 45764a1653..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/128.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=15, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/129.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/129.xml deleted file mode 100644 index d4e4461a6d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/129.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/129.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/129.xml.ref deleted file mode 100644 index 45764a1653..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/129.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=15, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/130.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/130.xml deleted file mode 100644 index fa7be641f1..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/130.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/130.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/130.xml.ref deleted file mode 100644 index ad943c6e9e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/130.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=22, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/131.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/131.xml deleted file mode 100644 index f34ed453b5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/131.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/131.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/131.xml.ref deleted file mode 100644 index ad943c6e9e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/131.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=22, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/132.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/132.xml deleted file mode 100644 index ab6cc416e9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/132.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/132.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/132.xml.ref deleted file mode 100644 index 37b53fc0b3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/132.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/133.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/133.xml deleted file mode 100644 index d2aa604e9f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/133.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/133.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/133.xml.ref deleted file mode 100644 index d0b59c54cc..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/133.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=18, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/134.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/134.xml deleted file mode 100644 index c8919c5ef8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/134.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/134.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/134.xml.ref deleted file mode 100644 index 9da787c53b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/134.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=19, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/135.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/135.xml deleted file mode 100644 index e639e8b6ea..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/135.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/135.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/135.xml.ref deleted file mode 100644 index d0b59c54cc..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/135.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=18, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/136.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/136.xml deleted file mode 100644 index 499e68bcea..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/136.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/136.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/136.xml.ref deleted file mode 100644 index 45764a1653..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/136.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=15, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/137.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/137.xml deleted file mode 100644 index 723b77f776..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/137.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/137.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/137.xml.ref deleted file mode 100644 index 58b922aec8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/137.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=14, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/138.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/138.xml deleted file mode 100644 index 16934cc88e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/138.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/138.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/138.xml.ref deleted file mode 100644 index 51b93a743e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/138.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=20, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/139.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/139.xml deleted file mode 100644 index 34df52ed93..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/139.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/139.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/139.xml.ref deleted file mode 100644 index 5344a45ef8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/139.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=16, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/140.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/140.xml deleted file mode 100644 index 467d5ed301..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/140.xml +++ /dev/null @@ -1,4 +0,0 @@ -"> -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/140.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/140.xml.ref deleted file mode 100644 index 123df1a99c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/140.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="<゚>") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=8, lineNumber=4, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/141.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/141.xml deleted file mode 100644 index 409d0a7568..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/141.xml +++ /dev/null @@ -1,4 +0,0 @@ -"> -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/141.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/141.xml.ref deleted file mode 100644 index 1b6d92115a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/141.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=8, lineNumber=4, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/142.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/142.xml deleted file mode 100644 index 20e88f88b3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/142.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/142.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/142.xml.ref deleted file mode 100644 index 0684cfa943..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/142.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\\0") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/143.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/143.xml deleted file mode 100644 index 0ee1c614f8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/143.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/143.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/143.xml.ref deleted file mode 100644 index 664bfb7111..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/143.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/144.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/144.xml deleted file mode 100644 index 437548c0ba..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/144.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -￿ diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/144.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/144.xml.ref deleted file mode 100644 index 8d3143070d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/144.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="￿") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/145.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/145.xml deleted file mode 100644 index 71b187a933..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/145.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/145.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/145.xml.ref deleted file mode 100644 index 279ece7657..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/145.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/146.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/146.xml deleted file mode 100644 index d0bfbca723..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/146.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/146.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/146.xml.ref deleted file mode 100644 index 7ce4da6a06..0000000000 Binary files a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/146.xml.ref and /dev/null differ diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/147.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/147.xml deleted file mode 100644 index 3b6145615f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/147.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/147.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/147.xml.ref deleted file mode 100644 index dd85a80374..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/147.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=6, lineNumber=2, publicId="", systemId="", message="invalid name for processing instruction"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/148.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/148.xml deleted file mode 100644 index 774dce18fd..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/148.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/148.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/148.xml.ref deleted file mode 100644 index 9b58eb0b49..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/148.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - comment(ch=" ") - fatalError(exception={columnNumber=6, lineNumber=2, publicId="", systemId="", message="invalid name for processing instruction"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/149.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/149.xml deleted file mode 100644 index 725eea0dec..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/149.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/149.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/149.xml.ref deleted file mode 100644 index aa73988e09..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/149.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=6, lineNumber=3, publicId="", systemId="", message="invalid name for processing instruction"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/150.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/150.xml deleted file mode 100644 index 44f6b6df92..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/150.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/150.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/150.xml.ref deleted file mode 100644 index 2bc5abe271..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/150.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - fatalError(exception={columnNumber=6, lineNumber=2, publicId="", systemId="", message="invalid name for processing instruction"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/151.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/151.xml deleted file mode 100644 index fecc4f24e3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/151.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/151.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/151.xml.ref deleted file mode 100644 index e5d98b1232..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/151.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - endElement(namespaceURI="", localName="doc", qName="doc") - fatalError(exception={columnNumber=6, lineNumber=3, publicId="", systemId="", message="invalid name for processing instruction"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/152.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/152.xml deleted file mode 100644 index b5c5cb26ae..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/152.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/152.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/152.xml.ref deleted file mode 100644 index 8852f79579..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/152.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=23, lineNumber=1, publicId="", systemId="", message="version expected while reading the XML declaration"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/153.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/153.xml deleted file mode 100644 index 5e2973707e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/153.xml +++ /dev/null @@ -1,5 +0,0 @@ - -"> -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/153.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/153.xml.ref deleted file mode 100644 index 1198fe07c6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/153.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=8, lineNumber=5, publicId="", systemId="", message="invalid name for processing instruction"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/154.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/154.xml deleted file mode 100644 index 96e01d63f5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/154.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/154.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/154.xml.ref deleted file mode 100644 index 74a9eb1488..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/154.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=6, lineNumber=1, publicId="", systemId="", message="invalid name for processing instruction"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/155.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/155.xml deleted file mode 100644 index 4f16d0f163..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/155.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/155.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/155.xml.ref deleted file mode 100644 index 74a9eb1488..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/155.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=6, lineNumber=1, publicId="", systemId="", message="invalid name for processing instruction"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/156.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/156.xml deleted file mode 100644 index c6d93fd312..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/156.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/156.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/156.xml.ref deleted file mode 100644 index 2bc5abe271..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/156.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - fatalError(exception={columnNumber=6, lineNumber=2, publicId="", systemId="", message="invalid name for processing instruction"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/157.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/157.xml deleted file mode 100644 index 2f058dac3e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/157.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/157.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/157.xml.ref deleted file mode 100644 index 2bc5abe271..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/157.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - fatalError(exception={columnNumber=6, lineNumber=2, publicId="", systemId="", message="invalid name for processing instruction"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/158.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/158.xml deleted file mode 100644 index 32b90b722d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/158.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/158.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/158.xml.ref deleted file mode 100644 index 38210c24da..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/158.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - notationDecl(name="gif", publicId="image/gif", systemId="") - fatalError(exception={columnNumber=11, lineNumber=4, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/159.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/159.xml deleted file mode 100644 index 066244cb91..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/159.xml +++ /dev/null @@ -1,5 +0,0 @@ - -"> -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/159.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/159.xml.ref deleted file mode 100644 index f044a71dd9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/159.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=27, lineNumber=3, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/160.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/160.xml deleted file mode 100644 index 85424acb1b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/160.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/160.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/160.xml.ref deleted file mode 100644 index 0c1afe80b8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/160.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="%e", value="") - internatlEntityDecl(name="foo", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/161.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/161.xml deleted file mode 100644 index 4f8a5b7b6b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/161.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/161.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/161.xml.ref deleted file mode 100644 index 35ee5e8c6c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/161.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="%e", value="#PCDATA") - fatalError(exception={columnNumber=16, lineNumber=3, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/162.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/162.xml deleted file mode 100644 index efae4b190e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/162.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/162.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/162.xml.ref deleted file mode 100644 index a802c74aed..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/162.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="%e1", value="") - internatlEntityDecl(name="%e2", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/163.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/163.xml deleted file mode 100644 index e14fb76c31..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/163.xml +++ /dev/null @@ -1,6 +0,0 @@ - - -]> -%e; - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/163.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/163.xml.ref deleted file mode 100644 index e4c32252dd..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/163.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="%e", value="") - endDTD() - fatalError(exception={columnNumber=1, lineNumber=5, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/164.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/164.xml deleted file mode 100644 index 98dd267c21..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/164.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -] %e; > - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/164.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/164.xml.ref deleted file mode 100644 index 80314341d6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/164.xml.ref +++ /dev/null @@ -1,5 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="%e", value="") - fatalError(exception={columnNumber=3, lineNumber=4, publicId="", systemId="", message="error occurred while parsing document type definition"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/165.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/165.xml deleted file mode 100644 index 36c04618ef..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/165.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/165.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/165.xml.ref deleted file mode 100644 index 64fd8b4d0d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/165.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=9, lineNumber=2, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/166.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/166.xml deleted file mode 100644 index ee2ce28630..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/166.xml +++ /dev/null @@ -1 +0,0 @@ -￿ diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/166.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/166.xml.ref deleted file mode 100644 index dca4f7b1cd..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/166.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=6, lineNumber=1, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/167.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/167.xml deleted file mode 100644 index 9bdc6c1278..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/167.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/167.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/167.xml.ref deleted file mode 100644 index dca4f7b1cd..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/167.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=6, lineNumber=1, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/168.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/168.xml deleted file mode 100644 index f83221a3ad..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/168.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/168.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/168.xml.ref deleted file mode 100644 index 61659843c1..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/168.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/169.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/169.xml deleted file mode 100644 index 310029b976..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/169.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/169.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/169.xml.ref deleted file mode 100644 index 78385bd8bc..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/169.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/170.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/170.xml deleted file mode 100644 index cfa0aee155..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/170.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/170.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/170.xml.ref deleted file mode 100644 index 87336aa00f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/170.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="����") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/171.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/171.xml deleted file mode 100644 index 48b5c7d3bc..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/171.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/171.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/171.xml.ref deleted file mode 100644 index f729ad3da3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/171.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=6, lineNumber=1, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/172.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/172.xml deleted file mode 100644 index 6651d4d299..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/172.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/172.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/172.xml.ref deleted file mode 100644 index f729ad3da3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/172.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=6, lineNumber=1, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/173.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/173.xml deleted file mode 100644 index f9f9f42023..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/173.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/173.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/173.xml.ref deleted file mode 100644 index cda5d63d26..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/173.xml.ref +++ /dev/null @@ -1,3 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - fatalError(exception={columnNumber=9, lineNumber=1, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/174.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/174.xml deleted file mode 100644 index 42bef861c6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/174.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/174.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/174.xml.ref deleted file mode 100644 index 5f23fbdcdb..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/174.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=15, lineNumber=1, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/175.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/175.xml deleted file mode 100644 index 69912f36d2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/175.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/175.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/175.xml.ref deleted file mode 100644 index 27549bc7de..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/175.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=15, lineNumber=3, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/176.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/176.xml deleted file mode 100644 index 39153ad5a8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/176.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - \ No newline at end of file diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/176.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/176.xml.ref deleted file mode 100644 index 4348506993..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/176.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=1, lineNumber=5, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/177.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/177.xml deleted file mode 100644 index 6bc8228879..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/177.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -A￿ diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/177.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/177.xml.ref deleted file mode 100644 index 94f3c3b9e5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/177.xml.ref +++ /dev/null @@ -1,6 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - fatalError(exception={columnNumber=7, lineNumber=4, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/178.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/178.xml deleted file mode 100644 index e8f2d18eed..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/178.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/179.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/179.xml.ref deleted file mode 100644 index a4c6cffd5d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/179.xml.ref +++ /dev/null @@ -1,4 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - fatalError(exception={columnNumber=1, lineNumber=5, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/180.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/180.xml deleted file mode 100644 index 569d553a8c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/180.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/180.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/180.xml.ref deleted file mode 100644 index 42542d990e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/180.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - skippedEntity(name="e") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - internatlEntityDecl(name="e", value="v") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/181.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/181.xml deleted file mode 100644 index 4341d99ee2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/181.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> -&e;]]> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/181.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/181.xml.ref deleted file mode 100644 index 8e1b4457fc..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/181.xml.ref +++ /dev/null @@ -1,11 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value=" - -]> -&e;--> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/182.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/182.xml.ref deleted file mode 100644 index abb11afa92..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/not-wf/sa/182.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value=" - abc&undef;gh - &undef;gh - abc&undef; - &undef; - &undef;&def;&undef;&def; - a&undef;b&def;c&undef;d&def;e - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_1.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_1.xml.ref deleted file mode 100644 index 67f1fbe808..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_1.xml.ref +++ /dev/null @@ -1,47 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="xml", data="version='1.0' encoding='UTF-8' standalone='no'") - startDTD(name="foo", publicId="", systemId="foo.dtd") - internatlEntityDecl(name="def", value="foo") - endDTD() - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - characters(ch="\n ") - comment(ch=" check that the call to skippedEntity() is inserted in the right place ") - characters(ch="\n ") - startElement(namespaceURI="", localName="a", qName="a", atts=[]) - characters(ch="abc") - skippedEntity(name="undef") - characters(ch="gh") - endElement(namespaceURI="", localName="a", qName="a") - characters(ch="\n ") - startElement(namespaceURI="", localName="b", qName="b", atts=[]) - skippedEntity(name="undef") - characters(ch="gh") - endElement(namespaceURI="", localName="b", qName="b") - characters(ch="\n ") - startElement(namespaceURI="", localName="c", qName="c", atts=[]) - characters(ch="abc") - skippedEntity(name="undef") - endElement(namespaceURI="", localName="c", qName="c") - characters(ch="\n ") - startElement(namespaceURI="", localName="d", qName="d", atts=[]) - skippedEntity(name="undef") - endElement(namespaceURI="", localName="d", qName="d") - characters(ch="\n ") - startElement(namespaceURI="", localName="e", qName="e", atts=[]) - skippedEntity(name="undef") - characters(ch="foo") - skippedEntity(name="undef") - characters(ch="foo") - endElement(namespaceURI="", localName="e", qName="e") - characters(ch="\n ") - startElement(namespaceURI="", localName="e", qName="e", atts=[]) - characters(ch="a") - skippedEntity(name="undef") - characters(ch="bfooc") - skippedEntity(name="undef") - characters(ch="dfooe") - endElement(namespaceURI="", localName="e", qName="e") - characters(ch="\n") - endElement(namespaceURI="", localName="foo", qName="foo") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_2.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_2.xml deleted file mode 100644 index a1fb393371..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_2.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - -]> - - abc&a1;gh - &a1;gh - abc&a1; - &a1; - &a1;&def;&a1;&def; - a&a1;b&def;c&a1;d&def;e - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_2.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_2.xml.ref deleted file mode 100644 index a7ed3a2848..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_2.xml.ref +++ /dev/null @@ -1,47 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="xml", data="version='1.0' encoding='UTF-8' standalone='no'") - startDTD(name="foo", publicId="", systemId="foo.dtd") - internatlEntityDecl(name="a1", value="&a2;") - internatlEntityDecl(name="a2", value="&a3;") - internatlEntityDecl(name="def", value="foo") - endDTD() - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - characters(ch="\n ") - startElement(namespaceURI="", localName="a", qName="a", atts=[]) - characters(ch="abc") - skippedEntity(name="a3") - characters(ch="gh") - endElement(namespaceURI="", localName="a", qName="a") - characters(ch="\n ") - startElement(namespaceURI="", localName="b", qName="b", atts=[]) - skippedEntity(name="a3") - characters(ch="gh") - endElement(namespaceURI="", localName="b", qName="b") - characters(ch="\n ") - startElement(namespaceURI="", localName="c", qName="c", atts=[]) - characters(ch="abc") - skippedEntity(name="a3") - endElement(namespaceURI="", localName="c", qName="c") - characters(ch="\n ") - startElement(namespaceURI="", localName="d", qName="d", atts=[]) - skippedEntity(name="a3") - endElement(namespaceURI="", localName="d", qName="d") - characters(ch="\n ") - startElement(namespaceURI="", localName="e", qName="e", atts=[]) - skippedEntity(name="a3") - characters(ch="foo") - skippedEntity(name="a3") - characters(ch="foo") - endElement(namespaceURI="", localName="e", qName="e") - characters(ch="\n ") - startElement(namespaceURI="", localName="e", qName="e", atts=[]) - characters(ch="a") - skippedEntity(name="a3") - characters(ch="bfooc") - skippedEntity(name="a3") - characters(ch="dfooe") - endElement(namespaceURI="", localName="e", qName="e") - characters(ch="\n") - endElement(namespaceURI="", localName="foo", qName="foo") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_3.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_3.xml deleted file mode 100644 index ae745d4da1..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_3.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - -]> - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_3.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_3.xml.ref deleted file mode 100644 index 09f8e96b9c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_3.xml.ref +++ /dev/null @@ -1,16 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="xml", data="version='1.0' encoding='UTF-8' standalone='no'") - startDTD(name="foo", publicId="", systemId="foo.dtd") - internatlEntityDecl(name="a1", value="&a2;") - internatlEntityDecl(name="a2", value="&a3;") - internatlEntityDecl(name="def", value="foo") - endDTD() - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - characters(ch="\n ") - skippedEntity(name="a3") - startElement(namespaceURI="", localName="a", qName="a", atts=[{localName="attr", qName="attr", uri="", type="CDATA", value="foobarfooding"}]) - endElement(namespaceURI="", localName="a", qName="a") - characters(ch="\n") - endElement(namespaceURI="", localName="foo", qName="foo") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/001.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/001.ent deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/001.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/001.xml deleted file mode 100644 index 2d6f41a137..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/001.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/001.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/001.xml.ref deleted file mode 100644 index eea47ce41b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/001.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="001.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/002.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/002.ent deleted file mode 100644 index 67c3297611..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/002.ent +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/002.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/002.xml deleted file mode 100644 index 023fce8499..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/002.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/002.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/002.xml.ref deleted file mode 100644 index cbaf6dc22d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/002.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="002.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003-1.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003-1.ent deleted file mode 100644 index 931f3ad6d8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003-1.ent +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003-2.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003-2.ent deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003.xml deleted file mode 100644 index 63a5e8bdfc..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003.xml.ref deleted file mode 100644 index 4f83c741fb..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/003.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="003-1.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004-1.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004-1.ent deleted file mode 100644 index 40f7ff58a2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004-1.ent +++ /dev/null @@ -1,4 +0,0 @@ - - - -%e1; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004-2.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004-2.ent deleted file mode 100644 index 61def75cb7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004-2.ent +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004.xml deleted file mode 100644 index adc9201496..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004.xml.ref deleted file mode 100644 index e2d3af888e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/004.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="004-1.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005-1.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005-1.ent deleted file mode 100644 index ade9599032..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005-1.ent +++ /dev/null @@ -1,3 +0,0 @@ - - -%e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005-2.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005-2.ent deleted file mode 100644 index bef50b1f38..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005-2.ent +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005.xml deleted file mode 100644 index 6bd44cfee0..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005.xml.ref deleted file mode 100644 index 8057322cf2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/005.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="005-1.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/006.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/006.ent deleted file mode 100644 index 8f305a82bd..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/006.ent +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/006.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/006.xml deleted file mode 100644 index eb80bb7409..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/006.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/006.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/006.xml.ref deleted file mode 100644 index e2e2584353..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/006.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="006.ent") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/007.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/007.ent deleted file mode 100644 index fbf4ca4947..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/007.ent +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/007.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/007.xml deleted file mode 100644 index 38897e34ea..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/007.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/007.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/007.xml.ref deleted file mode 100644 index d96790fb37..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/007.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="007.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/008.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/008.ent deleted file mode 100644 index fbf4ca4947..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/008.ent +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/008.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/008.xml deleted file mode 100644 index bf777a7ff2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/008.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/008.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/008.xml.ref deleted file mode 100644 index 08ba9c035b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/008.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="whatever", systemId="008.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/009.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/009.ent deleted file mode 100644 index fbf4ca4947..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/009.ent +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/009.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/009.xml deleted file mode 100644 index c17562fe68..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/009.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/009.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/009.xml.ref deleted file mode 100644 index d789785173..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/009.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="whatever", systemId="009.ent") - attributeDecl(eName="doc", aName="a2", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/010.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/010.ent deleted file mode 100644 index 52a28f5deb..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/010.ent +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/010.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/010.xml deleted file mode 100644 index 2786b328f3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/010.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/010.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/010.xml.ref deleted file mode 100644 index 6045d46296..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/010.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="010.ent") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/011.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/011.ent deleted file mode 100644 index fbf4ca4947..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/011.ent +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/011.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/011.xml deleted file mode 100644 index 03b482bbb6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/011.xml +++ /dev/null @@ -1,5 +0,0 @@ - -%e; -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/011.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/011.xml.ref deleted file mode 100644 index 09fd89bd38..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/011.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - externalEntityDecl(name="%e", publicId="", systemId="011.ent") - resolveEntity(publicId="", systemId="011.ent", ret={}) - skippedEntity(name="%e") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/012.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/012.ent deleted file mode 100644 index 7e372e65e9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/012.ent +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/012.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/012.xml deleted file mode 100644 index 1967edbba7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/012.xml +++ /dev/null @@ -1,5 +0,0 @@ - -%e; -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/012.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/012.xml.ref deleted file mode 100644 index 8d90b187dd..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/012.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - externalEntityDecl(name="%e", publicId="", systemId="012.ent") - resolveEntity(publicId="", systemId="012.ent", ret={}) - skippedEntity(name="%e") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/013.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/013.ent deleted file mode 100644 index a3691d9f08..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/013.ent +++ /dev/null @@ -1,4 +0,0 @@ - - -]]> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/013.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/013.xml deleted file mode 100644 index cf44f2600a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/013.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/013.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/013.xml.ref deleted file mode 100644 index d84839e625..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/013.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="013.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/014.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/014.ent deleted file mode 100644 index 6eaf779329..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/014.ent +++ /dev/null @@ -1,4 +0,0 @@ - - -]]> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/014.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/014.xml deleted file mode 100644 index bd08502489..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/014.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/014.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/014.xml.ref deleted file mode 100644 index f9c8220bbb..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/014.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="014.ent") - internatlEntityDecl(name="%e", value="INCLUDE") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/015.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/015.ent deleted file mode 100644 index 00d2f30e1d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/015.ent +++ /dev/null @@ -1,5 +0,0 @@ - - -]]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/015.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/015.xml deleted file mode 100644 index e04e75ffca..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/015.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/015.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/015.xml.ref deleted file mode 100644 index de94a45356..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/015.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="015.ent") - internatlEntityDecl(name="%e", value="IGNORE") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/016.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/016.ent deleted file mode 100644 index bf77ef8336..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/016.ent +++ /dev/null @@ -1,4 +0,0 @@ - - -]]> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/016.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/016.xml deleted file mode 100644 index 4ccf4af350..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/016.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/016.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/016.xml.ref deleted file mode 100644 index 7c234cfc5f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/016.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="016.ent") - internatlEntityDecl(name="%e", value="INCLUDE") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/017.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/017.ent deleted file mode 100644 index ffd9adde61..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/017.ent +++ /dev/null @@ -1,3 +0,0 @@ - -"> -%e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/017.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/017.xml deleted file mode 100644 index 7fe18f4c7a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/017.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/017.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/017.xml.ref deleted file mode 100644 index 25cc198610..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/017.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="017.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/018.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/018.ent deleted file mode 100644 index 2d46f76fc3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/018.ent +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/018.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/018.xml deleted file mode 100644 index 31e90f2405..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/018.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/018.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/018.xml.ref deleted file mode 100644 index 3db7bc846b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/018.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="018.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/019.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/019.ent deleted file mode 100644 index d18201a98b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/019.ent +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/019.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/019.xml deleted file mode 100644 index b7a18faba0..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/019.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/019.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/019.xml.ref deleted file mode 100644 index 9961aa93b4..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/019.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="019.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/020.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/020.ent deleted file mode 100644 index 815291c6d2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/020.ent +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/020.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/020.xml deleted file mode 100644 index d70892f7ad..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/020.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/020.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/020.xml.ref deleted file mode 100644 index fc9a0535c1..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/020.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="020.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/021.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/021.ent deleted file mode 100644 index 9f8f2afd2b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/021.ent +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/021.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/021.xml deleted file mode 100644 index 70c28730db..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/021.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/021.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/021.xml.ref deleted file mode 100644 index e6d91722d3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/021.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="021.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/022.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/022.ent deleted file mode 100644 index 26f2d8beb2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/022.ent +++ /dev/null @@ -1,3 +0,0 @@ - - - ]]> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/022.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/022.xml deleted file mode 100644 index b639f2551c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/022.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/022.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/022.xml.ref deleted file mode 100644 index de3ddf732f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/022.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="022.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/023.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/023.ent deleted file mode 100644 index e3268819f7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/023.ent +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/023.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/023.xml deleted file mode 100644 index 1c2484b70b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/023.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/023.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/023.xml.ref deleted file mode 100644 index a150bde52a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/023.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="023.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/024.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/024.ent deleted file mode 100644 index aa6d0eccac..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/024.ent +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/024.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/024.xml deleted file mode 100644 index 96e1ecb61b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/024.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/024.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/024.xml.ref deleted file mode 100644 index e97c61bd94..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/024.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="024.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/025.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/025.ent deleted file mode 100644 index 389d259eb1..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/025.ent +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/025.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/025.xml deleted file mode 100644 index 8fdbc14c47..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/025.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/025.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/025.xml.ref deleted file mode 100644 index 1eca607181..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/025.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="025.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/026.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/026.ent deleted file mode 100644 index bdc93af639..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/026.ent +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/026.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/026.xml deleted file mode 100644 index 7b109c0913..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/026.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -%e; - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/026.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/026.xml.ref deleted file mode 100644 index 1bea883d9c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/026.xml.ref +++ /dev/null @@ -1,12 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - externalEntityDecl(name="%e", publicId="", systemId="026.ent") - resolveEntity(publicId="", systemId="026.ent", ret={}) - skippedEntity(name="%e") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - attributeDecl(eName="doc", aName="a2", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/027.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/027.ent deleted file mode 100644 index 712cce3700..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/027.ent +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/027.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/027.xml deleted file mode 100644 index d0c8c7abb5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/027.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/027.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/027.xml.ref deleted file mode 100644 index d010327624..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/027.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="027.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/028.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/028.ent deleted file mode 100644 index ac249d7b2c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/028.ent +++ /dev/null @@ -1,2 +0,0 @@ - -]]> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/028.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/028.xml deleted file mode 100644 index 50e5248cbf..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/028.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/028.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/028.xml.ref deleted file mode 100644 index 8466141897..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/028.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="028.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/029.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/029.ent deleted file mode 100644 index df94df5560..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/029.ent +++ /dev/null @@ -1,3 +0,0 @@ - -]]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/029.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/029.xml deleted file mode 100644 index 07e226c1d7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/029.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/029.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/029.xml.ref deleted file mode 100644 index 0bffc4aaa7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/029.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="029.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/030.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/030.ent deleted file mode 100644 index e3864460df..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/030.ent +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/030.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/030.xml deleted file mode 100644 index 01fc2be4ca..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/030.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/030.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/030.xml.ref deleted file mode 100644 index 51e7f033f9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/030.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="030.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031-1.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031-1.ent deleted file mode 100644 index f7f94ab152..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031-1.ent +++ /dev/null @@ -1,3 +0,0 @@ - - -"> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031-2.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031-2.ent deleted file mode 100644 index bef50b1f38..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031-2.ent +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031.xml deleted file mode 100644 index c3fe5fca71..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031.xml +++ /dev/null @@ -1,2 +0,0 @@ - -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031.xml.ref deleted file mode 100644 index 72ab9d974f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/not-sa/031.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="031-1.ent") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - skippedEntity(name="e") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/001.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/001.xml deleted file mode 100644 index 7fbef49502..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/001.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/001.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/001.xml.ref deleted file mode 100644 index 37b53fc0b3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/001.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/002.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/002.xml deleted file mode 100644 index 2e3f1d81dd..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/002.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/002.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/002.xml.ref deleted file mode 100644 index 37b53fc0b3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/002.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/003.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/003.xml deleted file mode 100644 index c841b81784..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/003.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/003.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/003.xml.ref deleted file mode 100644 index 37b53fc0b3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/003.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/004.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/004.xml deleted file mode 100644 index a9c5756933..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/004.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/004.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/004.xml.ref deleted file mode 100644 index 2d7bfdfd73..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/004.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="v1"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/005.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/005.xml deleted file mode 100644 index b069efe727..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/005.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/005.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/005.xml.ref deleted file mode 100644 index 2d7bfdfd73..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/005.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="v1"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/006.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/006.xml deleted file mode 100644 index 39a346342f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/006.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/006.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/006.xml.ref deleted file mode 100644 index 2d7bfdfd73..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/006.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="v1"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/007.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/007.xml deleted file mode 100644 index cc3dc53166..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/007.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/007.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/007.xml.ref deleted file mode 100644 index 016a577ded..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/007.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch=" ") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/008.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/008.xml deleted file mode 100644 index b3370eb1cc..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/008.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -&<>"' diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/008.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/008.xml.ref deleted file mode 100644 index 2c879a43a9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/008.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="&<>\"'") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/009.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/009.xml deleted file mode 100644 index 0fa183eccf..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/009.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/009.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/009.xml.ref deleted file mode 100644 index 016a577ded..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/009.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch=" ") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/010.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/010.xml deleted file mode 100644 index eb64d18590..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/010.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/010.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/010.xml.ref deleted file mode 100644 index 2d7bfdfd73..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/010.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="v1"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/011.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/011.xml deleted file mode 100644 index 4cac44b4e4..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/011.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/011.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/011.xml.ref deleted file mode 100644 index 9fc96fdb80..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/011.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - attributeDecl(eName="doc", aName="a2", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="v1"}, {localName="a2", qName="a2", uri="", type="CDATA", value="v2"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/012.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/012.xml deleted file mode 100644 index 6ce2a3eae2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/012.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/012.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/012.xml.ref deleted file mode 100644 index 00c76deaf9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/012.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName=":", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="", qName=":", uri="", type="CDATA", value="v1"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/013.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/013.xml deleted file mode 100644 index 2f4aae4e28..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/013.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/013.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/013.xml.ref deleted file mode 100644 index ef2903d87a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/013.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="_.-0123456789", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="_.-0123456789", qName="_.-0123456789", uri="", type="CDATA", value="v1"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/014.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/014.xml deleted file mode 100644 index 47f1f723e3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/014.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/014.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/014.xml.ref deleted file mode 100644 index bbf1ff75e7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/014.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="abcdefghijklmnopqrstuvwxyz", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="abcdefghijklmnopqrstuvwxyz", qName="abcdefghijklmnopqrstuvwxyz", uri="", type="CDATA", value="v1"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/015.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/015.xml deleted file mode 100644 index 861df8a610..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/015.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/015.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/015.xml.ref deleted file mode 100644 index 882da5a6fd..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/015.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="ABCDEFGHIJKLMNOPQRSTUVWXYZ", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="ABCDEFGHIJKLMNOPQRSTUVWXYZ", qName="ABCDEFGHIJKLMNOPQRSTUVWXYZ", uri="", type="CDATA", value="v1"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/016.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/016.xml deleted file mode 100644 index 66b1973c5d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/016.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/016.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/016.xml.ref deleted file mode 100644 index 32c60b28a7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/016.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - processingInstruction(target="pi", data="") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/017.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/017.xml deleted file mode 100644 index 827ba963bf..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/017.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/017.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/017.xml.ref deleted file mode 100644 index 604d975e15..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/017.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - processingInstruction(target="pi", data="some data ? > -]> -]]> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/018.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/018.xml.ref deleted file mode 100644 index 21117d22b4..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/018.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startCDATA() - characters(ch="") - endCDATA() - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/019.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/019.xml deleted file mode 100644 index 3e6b74cbf2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/019.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/019.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/019.xml.ref deleted file mode 100644 index f95f625b33..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/019.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startCDATA() - characters(ch="<&") - endCDATA() - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/020.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/020.xml deleted file mode 100644 index f749551a1b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/020.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -]]]> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/020.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/020.xml.ref deleted file mode 100644 index ff6ff3683c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/020.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startCDATA() - characters(ch="<&]>]") - endCDATA() - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/021.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/021.xml deleted file mode 100644 index 13dda8c8a5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/021.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/021.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/021.xml.ref deleted file mode 100644 index 52bf68a717..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/021.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - comment(ch=" a comment ") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/022.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/022.xml deleted file mode 100644 index 41d300e950..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/022.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/022.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/022.xml.ref deleted file mode 100644 index b299ce71ee..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/022.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - comment(ch=" a comment ->") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/023.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/023.xml deleted file mode 100644 index 3837b831ad..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/023.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/023.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/023.xml.ref deleted file mode 100644 index b59c216593..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/023.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/024.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/024.xml deleted file mode 100644 index b0655c634c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/024.xml +++ /dev/null @@ -1,6 +0,0 @@ - - -"> -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/024.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/024.xml.ref deleted file mode 100644 index 00f7fce160..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/024.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - endElement(namespaceURI="", localName="foo", qName="foo") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/025.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/025.xml deleted file mode 100644 index ed01f36d89..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/025.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/025.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/025.xml.ref deleted file mode 100644 index 6a7605c082..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/025.xml.ref +++ /dev/null @@ -1,11 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - endElement(namespaceURI="", localName="foo", qName="foo") - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - endElement(namespaceURI="", localName="foo", qName="foo") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/026.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/026.xml deleted file mode 100644 index 1ba033c1a7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/026.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/026.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/026.xml.ref deleted file mode 100644 index 6a7605c082..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/026.xml.ref +++ /dev/null @@ -1,11 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - endElement(namespaceURI="", localName="foo", qName="foo") - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - endElement(namespaceURI="", localName="foo", qName="foo") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/027.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/027.xml deleted file mode 100644 index ee02439051..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/027.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/027.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/027.xml.ref deleted file mode 100644 index 6a7605c082..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/027.xml.ref +++ /dev/null @@ -1,11 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - endElement(namespaceURI="", localName="foo", qName="foo") - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - endElement(namespaceURI="", localName="foo", qName="foo") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/028.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/028.xml deleted file mode 100644 index 3d95747913..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/028.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/028.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/028.xml.ref deleted file mode 100644 index dcda37de1e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/028.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="xml", data="version='1.0'") - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/029.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/029.xml deleted file mode 100644 index 909f6ff712..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/029.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/029.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/029.xml.ref deleted file mode 100644 index dcda37de1e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/029.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="xml", data="version='1.0'") - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/030.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/030.xml deleted file mode 100644 index 3a7ddaa716..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/030.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/030.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/030.xml.ref deleted file mode 100644 index dcda37de1e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/030.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="xml", data="version='1.0'") - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/031.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/031.xml deleted file mode 100644 index a58e05867f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/031.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/031.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/031.xml.ref deleted file mode 100644 index 7d81068e24..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/031.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="xml", data="version='1.0' encoding='UTF-8'") - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/032.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/032.xml deleted file mode 100644 index be55c8d721..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/032.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/032.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/032.xml.ref deleted file mode 100644 index 96d8f1014d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/032.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="xml", data="version='1.0' standalone='yes'") - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/033.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/033.xml deleted file mode 100644 index a3f9053868..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/033.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/033.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/033.xml.ref deleted file mode 100644 index d56d96d584..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/033.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="xml", data="version='1.0' encoding='UTF-8' standalone='yes'") - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/034.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/034.xml deleted file mode 100644 index 7d52f31c0e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/034.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/034.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/034.xml.ref deleted file mode 100644 index 37b53fc0b3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/034.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/035.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/035.xml deleted file mode 100644 index f109a8b782..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/035.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/035.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/035.xml.ref deleted file mode 100644 index 37b53fc0b3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/035.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/036.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/036.xml deleted file mode 100644 index 8ab2b3fb16..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/036.xml +++ /dev/null @@ -1,5 +0,0 @@ - -]> - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/036.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/036.xml.ref deleted file mode 100644 index db2cbb1e8d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/036.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") - processingInstruction(target="pi", data="data") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/037.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/037.xml deleted file mode 100644 index f9b2113940..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/037.xml +++ /dev/null @@ -1,6 +0,0 @@ - -]> - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/037.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/037.xml.ref deleted file mode 100644 index 12d6a77cad..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/037.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") - comment(ch=" comment ") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/038.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/038.xml deleted file mode 100644 index d14f41bfe2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/038.xml +++ /dev/null @@ -1,6 +0,0 @@ - - -]> - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/038.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/038.xml.ref deleted file mode 100644 index d24c10b495..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/038.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - comment(ch=" comment ") - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/039.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/039.xml deleted file mode 100644 index 0897316e46..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/039.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/039.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/039.xml.ref deleted file mode 100644 index 9eb38b42bb..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/039.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="pi", data="data") - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/040.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/040.xml deleted file mode 100644 index 12c419b65b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/040.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/040.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/040.xml.ref deleted file mode 100644 index 81409bdc13..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/040.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="\"<&>'"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/041.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/041.xml deleted file mode 100644 index a59f536277..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/041.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/041.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/041.xml.ref deleted file mode 100644 index 13f83dffcf..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/041.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="A"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/042.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/042.xml deleted file mode 100644 index 5d7c650944..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/042.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -A diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/042.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/042.xml.ref deleted file mode 100644 index ed02b8c709..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/042.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="A") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/043.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/043.xml deleted file mode 100644 index a8095dfe28..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/043.xml +++ /dev/null @@ -1,6 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/043.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/043.xml.ref deleted file mode 100644 index 3f898a182a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/043.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="foo\r\nbar"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/044.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/044.xml deleted file mode 100644 index bee1d23e1a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/044.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -]> - - - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/044.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/044.xml.ref deleted file mode 100644 index daab693b31..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/044.xml.ref +++ /dev/null @@ -1,20 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="e", aName="a1", type="", valueDefault="", value="") - attributeDecl(eName="e", aName="a2", type="", valueDefault="", value="") - attributeDecl(eName="e", aName="a3", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - startElement(namespaceURI="", localName="e", qName="e", atts=[{localName="a3", qName="a3", uri="", type="CDATA", value="v3"}]) - endElement(namespaceURI="", localName="e", qName="e") - characters(ch="\r\n") - startElement(namespaceURI="", localName="e", qName="e", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="w1"}]) - endElement(namespaceURI="", localName="e", qName="e") - characters(ch="\r\n") - startElement(namespaceURI="", localName="e", qName="e", atts=[{localName="a2", qName="a2", uri="", type="CDATA", value="w2"}, {localName="a3", qName="a3", uri="", type="CDATA", value="v3"}]) - endElement(namespaceURI="", localName="e", qName="e") - characters(ch="\r\n") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/045.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/045.xml deleted file mode 100644 index e2567f532d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/045.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/045.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/045.xml.ref deleted file mode 100644 index 566221ae0d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/045.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/046.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/046.xml deleted file mode 100644 index c50a2846f9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/046.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/046.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/046.xml.ref deleted file mode 100644 index 7b1a28d90c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/046.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - attributeDecl(eName="doc", aName="a2", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/047.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/047.xml deleted file mode 100644 index a4c688cf1a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/047.xml +++ /dev/null @@ -1,5 +0,0 @@ - -]> -X -Y diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/047.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/047.xml.ref deleted file mode 100644 index 3af5bf2d74..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/047.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="X\r\nY") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/048.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/048.xml deleted file mode 100644 index c6b2dedbba..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/048.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -] diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/048.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/048.xml.ref deleted file mode 100644 index 0e8482350f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/048.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="]") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/049.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/049.xml deleted file mode 100644 index c3cc797b59..0000000000 Binary files a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/049.xml and /dev/null differ diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/049.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/049.xml.ref deleted file mode 100644 index 72897d1943..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/049.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="£") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/050.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/050.xml deleted file mode 100644 index 12303b1af2..0000000000 Binary files a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/050.xml and /dev/null differ diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/050.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/050.xml.ref deleted file mode 100644 index 8f39355258..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/050.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="เจมส์") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/051.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/051.xml deleted file mode 100644 index 7ae8f6c73a..0000000000 Binary files a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/051.xml and /dev/null differ diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/051.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/051.xml.ref deleted file mode 100644 index 71a89a922c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/051.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="เจมส์", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="เจมส์", qName="เจมส์", atts=[]) - endElement(namespaceURI="", localName="เจมส์", qName="เจมส์") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/052.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/052.xml deleted file mode 100644 index 3f33a4c760..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/052.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -𐀀􏿽 diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/052.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/052.xml.ref deleted file mode 100644 index 0b806c96a8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/052.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="𐀀􏿽") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/053.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/053.xml deleted file mode 100644 index 0d88f28718..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/053.xml +++ /dev/null @@ -1,6 +0,0 @@ -"> - - -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/053.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/053.xml.ref deleted file mode 100644 index 2aa90a79d0..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/053.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startElement(namespaceURI="", localName="e", qName="e", atts=[]) - endElement(namespaceURI="", localName="e", qName="e") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/054.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/054.xml deleted file mode 100644 index 5d1c88b946..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/054.xml +++ /dev/null @@ -1,10 +0,0 @@ - -]> - - - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/054.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/054.xml.ref deleted file mode 100644 index 37b53fc0b3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/054.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/055.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/055.xml deleted file mode 100644 index da0292c5bc..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/055.xml +++ /dev/null @@ -1,5 +0,0 @@ - -]> - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/055.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/055.xml.ref deleted file mode 100644 index dc3312be38..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/055.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - processingInstruction(target="pi", data="data") - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/056.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/056.xml deleted file mode 100644 index 144871b2a3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/056.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -A diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/056.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/056.xml.ref deleted file mode 100644 index ed02b8c709..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/056.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="A") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/057.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/057.xml deleted file mode 100644 index c1ac849ed1..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/057.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/057.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/057.xml.ref deleted file mode 100644 index 37b53fc0b3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/057.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/058.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/058.xml deleted file mode 100644 index 2ff23b233f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/058.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/058.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/058.xml.ref deleted file mode 100644 index 0acf5f4acd..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/058.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value=" 1 \t2 \t"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/059.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/059.xml deleted file mode 100644 index 2171480ecf..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/059.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -]> - - - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/059.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/059.xml.ref deleted file mode 100644 index 8a73895f0d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/059.xml.ref +++ /dev/null @@ -1,20 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="e", aName="a1", type="", valueDefault="", value="") - attributeDecl(eName="e", aName="a2", type="", valueDefault="", value="") - attributeDecl(eName="e", aName="a3", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - startElement(namespaceURI="", localName="e", qName="e", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="v1"}, {localName="a2", qName="a2", uri="", type="CDATA", value="v2"}, {localName="a3", qName="a3", uri="", type="CDATA", value="v3"}]) - endElement(namespaceURI="", localName="e", qName="e") - characters(ch="\r\n") - startElement(namespaceURI="", localName="e", qName="e", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="w1"}, {localName="a2", qName="a2", uri="", type="CDATA", value="v2"}]) - endElement(namespaceURI="", localName="e", qName="e") - characters(ch="\r\n") - startElement(namespaceURI="", localName="e", qName="e", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="v1"}, {localName="a2", qName="a2", uri="", type="CDATA", value="w2"}, {localName="a3", qName="a3", uri="", type="CDATA", value="v3"}]) - endElement(namespaceURI="", localName="e", qName="e") - characters(ch="\r\n") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/060.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/060.xml deleted file mode 100644 index 6cd6b4386b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/060.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -X Y diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/060.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/060.xml.ref deleted file mode 100644 index ea1cbd40c0..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/060.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="X\nY") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/061.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/061.xml deleted file mode 100644 index bbdc152492..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/061.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -£ diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/061.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/061.xml.ref deleted file mode 100644 index 72897d1943..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/061.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="£") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/062.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/062.xml deleted file mode 100644 index f4ba53090a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/062.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -เจมส์ diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/062.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/062.xml.ref deleted file mode 100644 index 8f39355258..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/062.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="เจมส์") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/063.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/063.xml deleted file mode 100644 index 9668f2da73..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/063.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -<เจมส์> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/063.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/063.xml.ref deleted file mode 100644 index 71a89a922c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/063.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="เจมส์", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="เจมส์", qName="เจมส์", atts=[]) - endElement(namespaceURI="", localName="เจมส์", qName="เจมส์") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/064.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/064.xml deleted file mode 100644 index 74a97aa431..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/064.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -𐀀􏿽 diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/064.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/064.xml.ref deleted file mode 100644 index 0b806c96a8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/064.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="𐀀􏿽") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/065.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/065.xml deleted file mode 100644 index f708f2bc17..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/065.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/065.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/065.xml.ref deleted file mode 100644 index ba31414499..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/065.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="<") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/066.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/066.xml deleted file mode 100644 index a27340b9a7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/066.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/066.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/066.xml.ref deleted file mode 100644 index d650af13d3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/066.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - comment(ch=" 34 is double quote ") - internatlEntityDecl(name="e1", value="\"") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="\""}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/067.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/067.xml deleted file mode 100644 index a0ccf772a5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/067.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/067.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/067.xml.ref deleted file mode 100644 index 9a2358d700..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/067.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/068.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/068.xml deleted file mode 100644 index 8ed806b9a3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/068.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/068.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/068.xml.ref deleted file mode 100644 index 8ebf150e48..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/068.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="\r") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/069.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/069.xml deleted file mode 100644 index 2437f60530..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/069.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/069.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/069.xml.ref deleted file mode 100644 index c5685c6d7a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/069.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - notationDecl(name="n", publicId="whatever", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/070.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/070.xml deleted file mode 100644 index eef097df76..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/070.xml +++ /dev/null @@ -1,5 +0,0 @@ -"> -%e; -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/070.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/070.xml.ref deleted file mode 100644 index 2525ef6ae3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/070.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="%e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/071.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/071.xml deleted file mode 100644 index ebfba230a4..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/071.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/071.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/071.xml.ref deleted file mode 100644 index 0b8e512b33..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/071.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/072.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/072.xml deleted file mode 100644 index 6ef39dc49e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/072.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/072.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/072.xml.ref deleted file mode 100644 index 0b8e512b33..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/072.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/073.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/073.xml deleted file mode 100644 index 217476d9a9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/073.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/073.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/073.xml.ref deleted file mode 100644 index 0b8e512b33..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/073.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/074.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/074.xml deleted file mode 100644 index 8b2354ff73..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/074.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/074.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/074.xml.ref deleted file mode 100644 index 0b8e512b33..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/074.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/075.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/075.xml deleted file mode 100644 index 33c012441a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/075.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/075.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/075.xml.ref deleted file mode 100644 index 0b8e512b33..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/075.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/076.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/076.xml deleted file mode 100644 index 65b731cf6d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/076.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/076.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/076.xml.ref deleted file mode 100644 index 3145f641b2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/076.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - notationDecl(name="n1", publicId="", systemId="http://www.w3.org/") - notationDecl(name="n2", publicId="", systemId="http://www.w3.org/") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/077.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/077.xml deleted file mode 100644 index e5f301eac8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/077.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/077.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/077.xml.ref deleted file mode 100644 index 0b8e512b33..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/077.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/078.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/078.xml deleted file mode 100644 index b31f40f94e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/078.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/078.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/078.xml.ref deleted file mode 100644 index 6b4e3c4f31..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/078.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value="v"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/079.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/079.xml deleted file mode 100644 index a3290d6cbb..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/079.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/079.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/079.xml.ref deleted file mode 100644 index 6b4e3c4f31..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/079.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value="v"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/080.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/080.xml deleted file mode 100644 index 3208fa9aa5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/080.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/080.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/080.xml.ref deleted file mode 100644 index 0b8e512b33..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/080.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/081.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/081.xml deleted file mode 100644 index 51ee1a375c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/081.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/081.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/081.xml.ref deleted file mode 100644 index 1bc73000f8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/081.xml.ref +++ /dev/null @@ -1,15 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startElement(namespaceURI="", localName="a", qName="a", atts=[]) - endElement(namespaceURI="", localName="a", qName="a") - startElement(namespaceURI="", localName="b", qName="b", atts=[]) - endElement(namespaceURI="", localName="b", qName="b") - startElement(namespaceURI="", localName="c", qName="c", atts=[]) - startElement(namespaceURI="", localName="a", qName="a", atts=[]) - endElement(namespaceURI="", localName="a", qName="a") - endElement(namespaceURI="", localName="c", qName="c") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/082.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/082.xml deleted file mode 100644 index d5245ac51a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/082.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/082.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/082.xml.ref deleted file mode 100644 index a333feb826..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/082.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - externalEntityDecl(name="%e", publicId="", systemId="e.dtd") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/083.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/083.xml deleted file mode 100644 index 937cfc0bdd..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/083.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/083.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/083.xml.ref deleted file mode 100644 index d52b5aa8b9..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/083.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - externalEntityDecl(name="%e", publicId="whatever", systemId="e.dtd") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/084.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/084.xml deleted file mode 100644 index 82760767aa..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/084.xml +++ /dev/null @@ -1 +0,0 @@ -]> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/084.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/084.xml.ref deleted file mode 100644 index 37b53fc0b3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/084.xml.ref +++ /dev/null @@ -1,7 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/085.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/085.xml deleted file mode 100644 index cf5834f2a5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/085.xml +++ /dev/null @@ -1,6 +0,0 @@ - -"> - -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/085.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/085.xml.ref deleted file mode 100644 index 8f9cdcc6d0..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/085.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="%e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - skippedEntity(name="e") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/086.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/086.xml deleted file mode 100644 index bbc3080db6..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/086.xml +++ /dev/null @@ -1,6 +0,0 @@ - - -"> -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/086.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/086.xml.ref deleted file mode 100644 index b59c216593..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/086.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/087.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/087.xml deleted file mode 100644 index 34797a67d7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/087.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/087.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/087.xml.ref deleted file mode 100644 index 33d23092ef..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/087.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) - endElement(namespaceURI="", localName="foo", qName="foo") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/088.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/088.xml deleted file mode 100644 index f97d96848d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/088.xml +++ /dev/null @@ -1,5 +0,0 @@ - -"> -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/088.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/088.xml.ref deleted file mode 100644 index db24f3408f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/088.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="<foo>") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/089.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/089.xml deleted file mode 100644 index 2d80c8f3fb..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/089.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/089.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/089.xml.ref deleted file mode 100644 index f09bc2bd09..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/089.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="𐀀􏿽􏿿") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="𐀀􏿽􏿿") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/090.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/090.xml deleted file mode 100644 index c392c96084..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/090.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/090.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/090.xml.ref deleted file mode 100644 index 1cc0f1e082..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/090.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="e", aName="a", type="", valueDefault="", value="") - notationDecl(name="n", publicId="whatever", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/091.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/091.xml deleted file mode 100644 index 7343d0f795..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/091.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/091.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/091.xml.ref deleted file mode 100644 index da92a9d906..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/091.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - notationDecl(name="n", publicId="", systemId="http://www.w3.org/") - unparsedEntityDecl(name="e", publicId="", systemId="http://www.w3.org/", notationName="n") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/092.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/092.xml deleted file mode 100644 index 627b74ecdf..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/092.xml +++ /dev/null @@ -1,10 +0,0 @@ - - -]> - - - - - - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/092.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/092.xml.ref deleted file mode 100644 index 3b9e06dc9e..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/092.xml.ref +++ /dev/null @@ -1,17 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n") - startElement(namespaceURI="", localName="a", qName="a", atts=[]) - endElement(namespaceURI="", localName="a", qName="a") - characters(ch="\r\n ") - startElement(namespaceURI="", localName="a", qName="a", atts=[]) - endElement(namespaceURI="", localName="a", qName="a") - characters(ch="\t") - startElement(namespaceURI="", localName="a", qName="a", atts=[]) - endElement(namespaceURI="", localName="a", qName="a") - characters(ch="\r\n\r\n\r\n") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/093.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/093.xml deleted file mode 100644 index 968acb628f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/093.xml +++ /dev/null @@ -1,5 +0,0 @@ - -]> - - \ No newline at end of file diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/093.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/093.xml.ref deleted file mode 100644 index 2e8bee6814..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/093.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="\r\n\r\r") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/094.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/094.xml deleted file mode 100644 index 5726e7db6f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/094.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/094.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/094.xml.ref deleted file mode 100644 index 4f42980c0b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/094.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="%e", value="foo") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/095.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/095.xml deleted file mode 100644 index 1fe69596da..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/095.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/095.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/095.xml.ref deleted file mode 100644 index 567feee5ad..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/095.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="1 2"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/096.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/096.xml deleted file mode 100644 index a6f8f43620..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/096.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/096.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/096.xml.ref deleted file mode 100644 index 1e3200f48c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/096.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/097.ent b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/097.ent deleted file mode 100644 index e06554ace2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/097.ent +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/097.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/097.xml deleted file mode 100644 index c606afa97f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/097.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - -%e; - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/097.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/097.xml.ref deleted file mode 100644 index b211a094ed..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/097.xml.ref +++ /dev/null @@ -1,12 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - externalEntityDecl(name="%e", publicId="", systemId="097.ent") - attributeDecl(eName="doc", aName="a1", type="", valueDefault="", value="") - resolveEntity(publicId="", systemId="097.ent", ret={}) - skippedEntity(name="%e") - attributeDecl(eName="doc", aName="a2", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/098.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/098.xml deleted file mode 100644 index 33a64ce5ae..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/098.xml +++ /dev/null @@ -1,5 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/098.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/098.xml.ref deleted file mode 100644 index 5108be0763..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/098.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - processingInstruction(target="pi", data="x\r\ny") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/099.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/099.xml deleted file mode 100644 index 1b7214a137..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/099.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/099.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/099.xml.ref deleted file mode 100644 index 21cd9bced2..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/099.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - processingInstruction(target="xml", data="version='1.0' encoding='utf-8'") - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/100.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/100.xml deleted file mode 100644 index 5b839e76bc..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/100.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/100.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/100.xml.ref deleted file mode 100644 index aaeec27038..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/100.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - externalEntityDecl(name="e", publicId=";!*#@$_%", systemId="100.xml") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/101.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/101.xml deleted file mode 100644 index f464484bf5..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/101.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/101.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/101.xml.ref deleted file mode 100644 index 5b7646c82f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/101.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="\"") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/102.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/102.xml deleted file mode 100644 index f239ff5fee..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/102.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/102.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/102.xml.ref deleted file mode 100644 index 75b25052de..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/102.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value="\""}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/103.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/103.xml deleted file mode 100644 index 1dbbd5bb7c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/103.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> -<doc> diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/103.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/103.xml.ref deleted file mode 100644 index 63526243dc..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/103.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/104.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/104.xml deleted file mode 100644 index 666f43de0f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/104.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/104.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/104.xml.ref deleted file mode 100644 index 2bccd0e3c7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/104.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value="x\ty"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/105.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/105.xml deleted file mode 100644 index 6b3af2b847..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/105.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/105.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/105.xml.ref deleted file mode 100644 index 2bccd0e3c7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/105.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value="x\ty"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/106.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/106.xml deleted file mode 100644 index 8757c0a5ae..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/106.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/106.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/106.xml.ref deleted file mode 100644 index 1e9cc0949b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/106.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value="x\ny"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/107.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/107.xml deleted file mode 100644 index 3d2c2566a7..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/107.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/107.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/107.xml.ref deleted file mode 100644 index 803dbc297b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/107.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value="x\ry"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/108.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/108.xml deleted file mode 100644 index e919bf229a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/108.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/108.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/108.xml.ref deleted file mode 100644 index 2199bd8fb3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/108.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="\r\n") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value="x\r\ny"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/109.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/109.xml deleted file mode 100644 index 33fa38e13b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/109.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/109.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/109.xml.ref deleted file mode 100644 index 789cb33821..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/109.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value=""}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/110.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/110.xml deleted file mode 100644 index 0c61c65119..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/110.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/110.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/110.xml.ref deleted file mode 100644 index 2199bd8fb3..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/110.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="\r\n") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value="x\r\ny"}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/111.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/111.xml deleted file mode 100644 index cb56f264b0..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/111.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/111.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/111.xml.ref deleted file mode 100644 index 152e284e58..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/111.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value=" x y "}]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/112.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/112.xml deleted file mode 100644 index 27b6a4c793..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/112.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/112.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/112.xml.ref deleted file mode 100644 index f82c6dca3f..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/112.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startElement(namespaceURI="", localName="a", qName="a", atts=[]) - endElement(namespaceURI="", localName="a", qName="a") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/113.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/113.xml deleted file mode 100644 index d2edd0f01d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/113.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/113.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/113.xml.ref deleted file mode 100644 index 6342ccc536..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/113.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - attributeDecl(eName="e", aName="a", type="", valueDefault="", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/114.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/114.xml deleted file mode 100644 index 52e207096d..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/114.xml +++ /dev/null @@ -1,5 +0,0 @@ - -"> -]> -&e; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/114.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/114.xml.ref deleted file mode 100644 index b11750e4b0..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/114.xml.ref +++ /dev/null @@ -1,11 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e", value="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startCDATA() - characters(ch="&foo;") - endCDATA() - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/115.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/115.xml deleted file mode 100644 index d939a67010..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/115.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -]> -&e1; diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/115.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/115.xml.ref deleted file mode 100644 index 5b09ebd425..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/115.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="e1", value="&e2;") - internatlEntityDecl(name="e2", value="v") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="v") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/116.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/116.xml deleted file mode 100644 index 55ab49620b..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/116.xml +++ /dev/null @@ -1,5 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/116.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/116.xml.ref deleted file mode 100644 index 9bdec9e5cc..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/116.xml.ref +++ /dev/null @@ -1,10 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - startCDATA() - characters(ch="\r\n") - endCDATA() - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/117.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/117.xml deleted file mode 100644 index e4f02b14c8..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/117.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> -] diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/117.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/117.xml.ref deleted file mode 100644 index 78dd11416a..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/117.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="rsqb", value="]") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="]") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/118.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/118.xml deleted file mode 100644 index fba6c44668..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/118.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -]> -] diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/118.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/118.xml.ref deleted file mode 100644 index c84da55fe0..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/118.xml.ref +++ /dev/null @@ -1,9 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - internatlEntityDecl(name="rsqb", value="]]") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - characters(ch="]]") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/119.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/119.xml deleted file mode 100644 index 876e74730c..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/119.xml +++ /dev/null @@ -1,4 +0,0 @@ - -]> - diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/119.xml.ref b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/119.xml.ref deleted file mode 100644 index d1c643ee03..0000000000 --- a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/sa/119.xml.ref +++ /dev/null @@ -1,8 +0,0 @@ -setDocumentLocator(locator={columnNumber=1, lineNumber=1}) -startDocument() - startDTD(name="doc", publicId="", systemId="") - endDTD() - startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) - comment(ch=" -á ") - endElement(namespaceURI="", localName="doc", qName="doc") -endDocument() diff --git a/tests/auto/xml/sax/sax.pro b/tests/auto/xml/sax/sax.pro deleted file mode 100644 index d232ee90e7..0000000000 --- a/tests/auto/xml/sax/sax.pro +++ /dev/null @@ -1,8 +0,0 @@ -TEMPLATE=subdirs -SUBDIRS=\ - qxml \ - -qtHaveModule(network): SUBDIRS += \ - qxmlinputsource \ - qxmlsimplereader \ - diff --git a/tests/auto/xml/xml.pro b/tests/auto/xml/xml.pro index 4b90ffbe13..f111d4a0c8 100644 --- a/tests/auto/xml/xml.pro +++ b/tests/auto/xml/xml.pro @@ -1,5 +1,4 @@ TEMPLATE=subdirs SUBDIRS=\ dom \ - sax \ -- cgit v1.2.3