diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2009-03-23 09:34:13 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2009-03-23 09:34:13 (GMT) |
commit | 67ad0519fd165acee4a4d2a94fa502e9e4847bd0 (patch) | |
tree | 1dbf50b3dff8d5ca7e9344733968c72704eb15ff /tests/auto/qxmlsimplereader/xmldocs/not-wf/sa | |
download | Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.zip Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.tar.gz Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.tar.bz2 |
Long live Qt!
Diffstat (limited to 'tests/auto/qxmlsimplereader/xmldocs/not-wf/sa')
374 files changed, 1568 insertions, 0 deletions
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/001.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/001.xml new file mode 100644 index 0000000..d33ec68 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/001.xml @@ -0,0 +1,5 @@ +<doc>
+<doc
+?
+<a</a>
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/001.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/001.xml.ref new file mode 100644 index 0000000..e0fa20f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/001.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/002.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/002.xml new file mode 100644 index 0000000..0a64d52 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/002.xml @@ -0,0 +1,4 @@ +<doc>
+<.doc></.doc>
+</doc>
+
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/002.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/002.xml.ref new file mode 100644 index 0000000..8ebfac2 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/002.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/003.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/003.xml new file mode 100644 index 0000000..e0b8bae --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/003.xml @@ -0,0 +1 @@ +<doc><? ?></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/003.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/003.xml.ref new file mode 100644 index 0000000..988690b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/003.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/004.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/004.xml new file mode 100644 index 0000000..e85bc96 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/004.xml @@ -0,0 +1 @@ +<doc><?target some data></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/004.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/004.xml.ref new file mode 100644 index 0000000..0085dfe --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/004.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/005.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/005.xml new file mode 100644 index 0000000..7cd44ef --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/005.xml @@ -0,0 +1 @@ +<doc><?target some data?</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/005.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/005.xml.ref new file mode 100644 index 0000000..0085dfe --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/005.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/006.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/006.xml new file mode 100644 index 0000000..8594c35 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/006.xml @@ -0,0 +1 @@ +<doc><!-- a comment -- another --></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/006.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/006.xml.ref new file mode 100644 index 0000000..3d07b93 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/006.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/007.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/007.xml new file mode 100644 index 0000000..286756f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/007.xml @@ -0,0 +1 @@ +<doc>& no refc</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/007.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/007.xml.ref new file mode 100644 index 0000000..bbd182b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/007.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/008.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/008.xml new file mode 100644 index 0000000..29ef403 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/008.xml @@ -0,0 +1 @@ +<doc>&.entity;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/008.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/008.xml.ref new file mode 100644 index 0000000..19d21b4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/008.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/009.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/009.xml new file mode 100644 index 0000000..8e3ff7d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/009.xml @@ -0,0 +1 @@ +<doc>&#RE;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/009.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/009.xml.ref new file mode 100644 index 0000000..a885634 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/009.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/010.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/010.xml new file mode 100644 index 0000000..a679084 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/010.xml @@ -0,0 +1 @@ +<doc>A & B</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/010.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/010.xml.ref new file mode 100644 index 0000000..7db0ddb --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/010.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/011.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/011.xml new file mode 100644 index 0000000..57eaf9f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/011.xml @@ -0,0 +1 @@ +<doc a1></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/011.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/011.xml.ref new file mode 100644 index 0000000..bb83795 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/011.xml.ref @@ -0,0 +1,3 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + fatalError(exception={columnNumber=8, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/012.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/012.xml new file mode 100644 index 0000000..1b2539f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/012.xml @@ -0,0 +1 @@ +<doc a1=v1></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/012.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/012.xml.ref new file mode 100644 index 0000000..333fb0d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/012.xml.ref @@ -0,0 +1,3 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + fatalError(exception={columnNumber=9, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/013.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/013.xml new file mode 100644 index 0000000..3540df9 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/013.xml @@ -0,0 +1 @@ +<doc a1="v1'></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/013.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/013.xml.ref new file mode 100644 index 0000000..1fececc --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/013.xml.ref @@ -0,0 +1,3 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + fatalError(exception={columnNumber=14, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/014.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/014.xml new file mode 100644 index 0000000..a613115 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/014.xml @@ -0,0 +1 @@ +<doc a1="<foo>"></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/014.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/014.xml.ref new file mode 100644 index 0000000..a9230f2 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/014.xml.ref @@ -0,0 +1,3 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + fatalError(exception={columnNumber=10, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/015.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/015.xml new file mode 100644 index 0000000..f2baf94 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/015.xml @@ -0,0 +1 @@ +<doc a1=></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/015.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/015.xml.ref new file mode 100644 index 0000000..333fb0d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/015.xml.ref @@ -0,0 +1,3 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + fatalError(exception={columnNumber=9, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/016.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/016.xml new file mode 100644 index 0000000..22d4b2e --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/016.xml @@ -0,0 +1 @@ +<doc a1="v1" "v2"></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/016.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/016.xml.ref new file mode 100644 index 0000000..e47a79c --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/016.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/017.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/017.xml new file mode 100644 index 0000000..a76f592 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/017.xml @@ -0,0 +1 @@ +<doc><![CDATA[</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/017.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/017.xml.ref new file mode 100644 index 0000000..0085dfe --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/017.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/018.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/018.xml new file mode 100644 index 0000000..66e204a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/018.xml @@ -0,0 +1 @@ +<doc><![CDATA [ stuff]]></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/018.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/018.xml.ref new file mode 100644 index 0000000..651fa05 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/018.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/019.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/019.xml new file mode 100644 index 0000000..b835c2d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/019.xml @@ -0,0 +1 @@ +<doc></>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/019.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/019.xml.ref new file mode 100644 index 0000000..9196faa --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/019.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/020.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/020.xml new file mode 100644 index 0000000..b30cfcf --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/020.xml @@ -0,0 +1 @@ +<doc a1="A & B"></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/020.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/020.xml.ref new file mode 100644 index 0000000..f52f775 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/020.xml.ref @@ -0,0 +1,3 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + fatalError(exception={columnNumber=13, lineNumber=1, publicId="", systemId="", message="letter is expected"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/021.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/021.xml new file mode 100644 index 0000000..1bfa84a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/021.xml @@ -0,0 +1 @@ +<doc a1="a&b"></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/021.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/021.xml.ref new file mode 100644 index 0000000..02ae469 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/021.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/022.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/022.xml new file mode 100644 index 0000000..44c803b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/022.xml @@ -0,0 +1 @@ +<doc a1="{:"></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/022.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/022.xml.ref new file mode 100644 index 0000000..42bf38f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/022.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/023.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/023.xml new file mode 100644 index 0000000..b877ae2 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/023.xml @@ -0,0 +1 @@ +<doc 12="34"></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/023.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/023.xml.ref new file mode 100644 index 0000000..94f5cfa --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/023.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/024.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/024.xml new file mode 100644 index 0000000..cf68f2c --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/024.xml @@ -0,0 +1,3 @@ +<doc>
+<123></123>
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/024.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/024.xml.ref new file mode 100644 index 0000000..8ebfac2 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/024.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/025.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/025.xml new file mode 100644 index 0000000..6cba95c --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/025.xml @@ -0,0 +1 @@ +<doc>]]></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/025.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/025.xml.ref new file mode 100644 index 0000000..8f5d812 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/025.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/026.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/026.xml new file mode 100644 index 0000000..347984f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/026.xml @@ -0,0 +1 @@ +<doc>]]]></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/026.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/026.xml.ref new file mode 100644 index 0000000..3d0c743 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/026.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/027.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/027.xml new file mode 100644 index 0000000..cfafaf0 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/027.xml @@ -0,0 +1,3 @@ +<doc>
+<!-- abc
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/027.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/027.xml.ref new file mode 100644 index 0000000..178563e --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/027.xml.ref @@ -0,0 +1,5 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) + characters(ch="\r\n") + fatalError(exception={columnNumber=1, lineNumber=4, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/028.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/028.xml new file mode 100644 index 0000000..5227149 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/028.xml @@ -0,0 +1,4 @@ +<doc>
+<?a pi that is not closed
+</doc>
+
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/028.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/028.xml.ref new file mode 100644 index 0000000..45a6132 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/028.xml.ref @@ -0,0 +1,5 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) + characters(ch="\r\n") + fatalError(exception={columnNumber=1, lineNumber=5, publicId="", systemId="", message="unexpected end of file"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/029.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/029.xml new file mode 100644 index 0000000..9a8008b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/029.xml @@ -0,0 +1 @@ +<doc>abc]]]>def</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/029.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/029.xml.ref new file mode 100644 index 0000000..da04309 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/029.xml.ref @@ -0,0 +1,4 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) + fatalError(exception={columnNumber=12, lineNumber=1, publicId="", systemId="", message="error occurred while parsing content"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/030.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/030.xml new file mode 100644 index 0000000..25861fa --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/030.xml @@ -0,0 +1 @@ +<doc>A form feed () is not legal in data</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/030.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/030.xml.ref new file mode 100644 index 0000000..3d7b2fd --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/030.xml.ref @@ -0,0 +1,6 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) + characters(ch="A form feed () is not legal in data") + endElement(namespaceURI="", localName="doc", qName="doc") +endDocument() diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/031.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/031.xml new file mode 100644 index 0000000..f946536 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/031.xml @@ -0,0 +1 @@ +<doc><?pi a form feed () is not allowed in a pi?></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/031.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/031.xml.ref new file mode 100644 index 0000000..240d633 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/031.xml.ref @@ -0,0 +1,6 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) + processingInstruction(target="pi", data="a form feed () is not allowed in a pi") + endElement(namespaceURI="", localName="doc", qName="doc") +endDocument() diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/032.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/032.xml new file mode 100644 index 0000000..7595201 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/032.xml @@ -0,0 +1 @@ +<doc><!-- a form feed () is not allowed in a comment --></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/032.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/032.xml.ref new file mode 100644 index 0000000..a85cab7 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/032.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/033.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/033.xml new file mode 100644 index 0000000..afd2328 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/033.xml @@ -0,0 +1 @@ +<doc>abcdef</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/033.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/033.xml.ref new file mode 100644 index 0000000..a059f8e --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/033.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/034.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/034.xml new file mode 100644 index 0000000..d74a777 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/034.xml @@ -0,0 +1 @@ +<doc>A form-feed is not white space or a name character</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/034.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/034.xml.ref new file mode 100644 index 0000000..723dc1a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/034.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/035.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/035.xml new file mode 100644 index 0000000..e1fc920 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/035.xml @@ -0,0 +1 @@ +<doc>1 < 2 but not in XML</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/035.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/035.xml.ref new file mode 100644 index 0000000..6ca9412 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/035.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/036.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/036.xml new file mode 100644 index 0000000..b8ecb21 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/036.xml @@ -0,0 +1,2 @@ +<doc></doc>
+Illegal data
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/036.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/036.xml.ref new file mode 100644 index 0000000..5341fe5 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/036.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/037.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/037.xml new file mode 100644 index 0000000..2e02662 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/037.xml @@ -0,0 +1,2 @@ +<doc></doc>
+ 
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/037.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/037.xml.ref new file mode 100644 index 0000000..5341fe5 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/037.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/038.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/038.xml new file mode 100644 index 0000000..68b2803 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/038.xml @@ -0,0 +1 @@ +<doc x="foo" y="bar" x="baz"></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/038.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/038.xml.ref new file mode 100644 index 0000000..914f7ed --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/038.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/039.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/039.xml new file mode 100644 index 0000000..80429e3 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/039.xml @@ -0,0 +1 @@ +<doc><a></aa></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/039.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/039.xml.ref new file mode 100644 index 0000000..82a6711 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/039.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/040.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/040.xml new file mode 100644 index 0000000..dc8ba5a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/040.xml @@ -0,0 +1,2 @@ +<doc></doc>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/040.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/040.xml.ref new file mode 100644 index 0000000..a28c24a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/040.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/041.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/041.xml new file mode 100644 index 0000000..30bcdd6 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/041.xml @@ -0,0 +1,2 @@ +<doc/>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/041.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/041.xml.ref new file mode 100644 index 0000000..a28c24a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/041.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/042.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/042.xml new file mode 100644 index 0000000..4ae50ef --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/042.xml @@ -0,0 +1 @@ +<doc/></doc/>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/042.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/042.xml.ref new file mode 100644 index 0000000..493c67a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/042.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/043.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/043.xml new file mode 100644 index 0000000..41824ee --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/043.xml @@ -0,0 +1,2 @@ +<doc/>
+Illegal data
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/043.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/043.xml.ref new file mode 100644 index 0000000..5341fe5 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/043.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/044.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/044.xml new file mode 100644 index 0000000..3fc232d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/044.xml @@ -0,0 +1 @@ +<doc/><doc/>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/044.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/044.xml.ref new file mode 100644 index 0000000..493c67a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/044.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/045.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/045.xml new file mode 100644 index 0000000..00c10f0 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/045.xml @@ -0,0 +1,4 @@ +<doc>
+<a/
+</doc>
+
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/045.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/045.xml.ref new file mode 100644 index 0000000..d030deb --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/045.xml.ref @@ -0,0 +1,7 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/046.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/046.xml new file mode 100644 index 0000000..265cb15 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/046.xml @@ -0,0 +1,3 @@ +<doc>
+<a/</a>
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/046.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/046.xml.ref new file mode 100644 index 0000000..d030deb --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/046.xml.ref @@ -0,0 +1,7 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/047.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/047.xml new file mode 100644 index 0000000..d18a4a4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/047.xml @@ -0,0 +1,3 @@ +<doc>
+<a / >
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/047.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/047.xml.ref new file mode 100644 index 0000000..4693ac4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/047.xml.ref @@ -0,0 +1,7 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/048.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/048.xml new file mode 100644 index 0000000..67419c1 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/048.xml @@ -0,0 +1,3 @@ +<doc>
+</doc>
+<![CDATA[]]>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/048.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/048.xml.ref new file mode 100644 index 0000000..f8e19b6 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/048.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/049.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/049.xml new file mode 100644 index 0000000..3cf0e79 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/049.xml @@ -0,0 +1,4 @@ +<doc>
+<a><![CDATA[xyz]]]></a>
+<![CDATA[]]></a>
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/049.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/049.xml.ref new file mode 100644 index 0000000..1d89054 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/049.xml.ref @@ -0,0 +1,14 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/050.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/050.xml new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/050.xml diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/050.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/050.xml.ref new file mode 100644 index 0000000..2a3b59e --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/050.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/051.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/051.xml new file mode 100644 index 0000000..b52df12 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/051.xml @@ -0,0 +1,3 @@ +<!-- a comment -->
+<![CDATA[]]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/051.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/051.xml.ref new file mode 100644 index 0000000..71c3e0d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/051.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/052.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/052.xml new file mode 100644 index 0000000..8283895 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/052.xml @@ -0,0 +1,3 @@ +<!-- a comment -->
+ 
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/052.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/052.xml.ref new file mode 100644 index 0000000..42126fd --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/052.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/053.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/053.xml new file mode 100644 index 0000000..9d7f369 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/053.xml @@ -0,0 +1 @@ +<doc></DOC>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/053.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/053.xml.ref new file mode 100644 index 0000000..515dd0b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/053.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/054.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/054.xml new file mode 100644 index 0000000..eda553c --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/054.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY foo PUBLIC "some public id">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/054.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/054.xml.ref new file mode 100644 index 0000000..18412e3 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/054.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/055.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/055.xml new file mode 100644 index 0000000..cbb3683 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/055.xml @@ -0,0 +1,2 @@ +<!DOCTYPE doc [
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/055.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/055.xml.ref new file mode 100644 index 0000000..3e1e132 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/055.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/056.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/056.xml new file mode 100644 index 0000000..a681684 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/056.xml @@ -0,0 +1,2 @@ +<!DOCTYPE doc -- a comment -- []>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/056.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/056.xml.ref new file mode 100644 index 0000000..938a47c --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/056.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/057.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/057.xml new file mode 100644 index 0000000..848d347 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/057.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "whatever" -- a comment -->
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/057.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/057.xml.ref new file mode 100644 index 0000000..28576a7 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/057.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/058.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/058.xml new file mode 100644 index 0000000..daba266 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/058.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a1 (foo,bar) #IMPLIED>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/058.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/058.xml.ref new file mode 100644 index 0000000..aa3101b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/058.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/059.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/059.xml new file mode 100644 index 0000000..316083d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/059.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a1 NMTOKEN v1>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/059.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/059.xml.ref new file mode 100644 index 0000000..d0c60b2 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/059.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/060.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/060.xml new file mode 100644 index 0000000..9a610fd --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/060.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a1 NAME #IMPLIED>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/060.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/060.xml.ref new file mode 100644 index 0000000..22f1636 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/060.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/061.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/061.xml new file mode 100644 index 0000000..59181e7 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/061.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e PUBLIC "whatever""e.ent">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/061.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/061.xml.ref new file mode 100644 index 0000000..d49ec68 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/061.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/062.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/062.xml new file mode 100644 index 0000000..e62e9cd --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/062.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY foo"some text">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/062.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/062.xml.ref new file mode 100644 index 0000000..2388c50 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/062.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/063.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/063.xml new file mode 100644 index 0000000..98675b9 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/063.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<![INCLUDE[ ]]>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/063.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/063.xml.ref new file mode 100644 index 0000000..c0c9152 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/063.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/064.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/064.xml new file mode 100644 index 0000000..3888c46 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/064.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST e a1 CDATA"foo">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/064.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/064.xml.ref new file mode 100644 index 0000000..11ba2bd --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/064.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/065.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/065.xml new file mode 100644 index 0000000..da9cafd --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/065.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a1(foo|bar) #IMPLIED>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/065.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/065.xml.ref new file mode 100644 index 0000000..c91f859 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/065.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/066.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/066.xml new file mode 100644 index 0000000..9c09eb4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/066.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a1 (foo|bar)#IMPLIED>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/066.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/066.xml.ref new file mode 100644 index 0000000..f044a71 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/066.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/067.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/067.xml new file mode 100644 index 0000000..7e0809b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/067.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a1 (foo)"foo">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/067.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/067.xml.ref new file mode 100644 index 0000000..519e67f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/067.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/068.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/068.xml new file mode 100644 index 0000000..53a80a8 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/068.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a1 NOTATION(foo) #IMPLIED>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/068.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/068.xml.ref new file mode 100644 index 0000000..aa7a9e3 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/068.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/069.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/069.xml new file mode 100644 index 0000000..6f891dd --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/069.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!NOTATION eps SYSTEM "eps.exe">
+<!-- missing space before NDATA -->
+<!ENTITY foo SYSTEM "foo.eps"NDATA eps>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/069.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/069.xml.ref new file mode 100644 index 0000000..4d729c5 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/069.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/070.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/070.xml new file mode 100644 index 0000000..faf4b0a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/070.xml @@ -0,0 +1,2 @@ +<!-- a comment ending with three dashes --->
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/070.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/070.xml.ref new file mode 100644 index 0000000..f24226f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/070.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/071.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/071.xml new file mode 100644 index 0000000..5bd3908 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/071.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!ENTITY e1 "&e2;">
+<!ENTITY e2 "&e3;">
+<!ENTITY e3 "&e1;">
+]>
+<doc>&e1;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/071.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/071.xml.ref new file mode 100644 index 0000000..da8c934 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/071.xml.ref @@ -0,0 +1,9 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/072.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/072.xml new file mode 100644 index 0000000..743ba79 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/072.xml @@ -0,0 +1 @@ +<doc>&foo;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/072.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/072.xml.ref new file mode 100644 index 0000000..48fd72b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/072.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/073.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/073.xml new file mode 100644 index 0000000..2578af4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/073.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "whatever">
+]>
+<doc>&f;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/073.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/073.xml.ref new file mode 100644 index 0000000..b60c7d4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/073.xml.ref @@ -0,0 +1,9 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/074.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/074.xml new file mode 100644 index 0000000..f8abaeb --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/074.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!ENTITY e "</foo><foo>">
+]>
+<doc>
+<foo>&e;</foo>
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/074.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/074.xml.ref new file mode 100644 index 0000000..df8552d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/074.xml.ref @@ -0,0 +1,14 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startDTD(name="doc", publicId="", systemId="") + internatlEntityDecl(name="e", value="</foo><foo>") + 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/qxmlsimplereader/xmldocs/not-wf/sa/075.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/075.xml new file mode 100644 index 0000000..d3dbf50 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/075.xml @@ -0,0 +1,7 @@ +<!DOCTYPE doc [
+<!ENTITY e1 "&e2;">
+<!ENTITY e2 "&e3;">
+<!ENTITY e3 "&e1;">
+]>
+<doc a="&e1;"></doc>
+
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/075.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/075.xml.ref new file mode 100644 index 0000000..5d8b179 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/075.xml.ref @@ -0,0 +1,8 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/076.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/076.xml new file mode 100644 index 0000000..6054672 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/076.xml @@ -0,0 +1 @@ +<doc a="&foo;"></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/076.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/076.xml.ref new file mode 100644 index 0000000..6a8b319 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/076.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/077.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/077.xml new file mode 100644 index 0000000..f8ac23a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/077.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY foo "&bar;">
+]>
+<doc a="&foo;"></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/077.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/077.xml.ref new file mode 100644 index 0000000..4458152 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/077.xml.ref @@ -0,0 +1,9 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/078.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/078.xml new file mode 100644 index 0000000..446cd85 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/078.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a CDATA "&foo;">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/078.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/078.xml.ref new file mode 100644 index 0000000..985f71c --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/078.xml.ref @@ -0,0 +1,9 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/079.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/079.xml new file mode 100644 index 0000000..da016fd --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/079.xml @@ -0,0 +1,8 @@ +<!DOCTYPE doc [
+<!ENTITY e1 "&e2;">
+<!ENTITY e2 "&e3;">
+<!ENTITY e3 "&e1;">
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a CDATA "&e1;">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/079.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/079.xml.ref new file mode 100644 index 0000000..a598337 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/079.xml.ref @@ -0,0 +1,7 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/080.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/080.xml new file mode 100644 index 0000000..fa4b9e4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/080.xml @@ -0,0 +1,8 @@ +<!DOCTYPE doc [
+<!ENTITY e1 "&e2;">
+<!ENTITY e2 "&e3;">
+<!ENTITY e3 "&e1;">
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a CDATA #FIXED "&e1;">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/080.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/080.xml.ref new file mode 100644 index 0000000..13ee47b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/080.xml.ref @@ -0,0 +1,7 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/081.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/081.xml new file mode 100644 index 0000000..d676100 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/081.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e SYSTEM "nul">
+]>
+<doc a="&e;"></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/081.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/081.xml.ref new file mode 100644 index 0000000..4d386e4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/081.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/082.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/082.xml new file mode 100644 index 0000000..3217d6f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/082.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!ENTITY e SYSTEM "nul">
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a CDATA "&e;">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/082.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/082.xml.ref new file mode 100644 index 0000000..eb81754 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/082.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/083.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/083.xml new file mode 100644 index 0000000..469d43f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/083.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e SYSTEM "nul" NDATA n>
+]>
+<doc>&e;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/083.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/083.xml.ref new file mode 100644 index 0000000..ac1caa8 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/083.xml.ref @@ -0,0 +1,7 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/084.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/084.xml new file mode 100644 index 0000000..abbbcde --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/084.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!ENTITY e SYSTEM "nul" NDATA n>
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a CDATA "&e;">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/084.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/084.xml.ref new file mode 100644 index 0000000..9f69b94 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/084.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/085.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/085.xml new file mode 100644 index 0000000..ac0aeca --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/085.xml @@ -0,0 +1,2 @@ +<!DOCTYPE doc PUBLIC "[" "null.ent">
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/085.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/085.xml.ref new file mode 100644 index 0000000..4db671e --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/085.xml.ref @@ -0,0 +1,7 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/086.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/086.xml new file mode 100644 index 0000000..df6adfd --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/086.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY foo PUBLIC "[" "null.xml">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/086.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/086.xml.ref new file mode 100644 index 0000000..6254d59 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/086.xml.ref @@ -0,0 +1,8 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/087.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/087.xml new file mode 100644 index 0000000..ed49492 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/087.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!NOTATION foo PUBLIC "[" "null.ent">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/087.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/087.xml.ref new file mode 100644 index 0000000..8ec0ab3 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/087.xml.ref @@ -0,0 +1,8 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/088.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/088.xml new file mode 100644 index 0000000..da0a68c --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/088.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a CDATA #IMPLIED>
+<!ENTITY e '"'>
+]>
+<doc a="&e;></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/088.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/088.xml.ref new file mode 100644 index 0000000..27ed4e5 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/088.xml.ref @@ -0,0 +1,7 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startDTD(name="doc", publicId="", systemId="") + attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") + internatlEntityDecl(name="e", value="\"") + endDTD() + fatalError(exception={columnNumber=13, lineNumber=6, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/089.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/089.xml new file mode 100644 index 0000000..0c6cf40 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/089.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY % foo SYSTEM "foo.xml" NDATA bar>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/089.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/089.xml.ref new file mode 100644 index 0000000..910213b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/089.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/090.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/090.xml new file mode 100644 index 0000000..3fb72f3 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/090.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "<foo a='<'></foo>">
+]>
+<doc>&e;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/090.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/090.xml.ref new file mode 100644 index 0000000..bc4280a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/090.xml.ref @@ -0,0 +1,7 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startDTD(name="doc", publicId="", systemId="") + internatlEntityDecl(name="e", value="<foo a='<'></foo>") + endDTD() + startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) + fatalError(exception={columnNumber=8, lineNumber=4, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/091.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/091.xml new file mode 100644 index 0000000..a61d091 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/091.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!NOTATION n SYSTEM "n">
+<!ENTITY % foo SYSTEM "foo.xml" NDATA n>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/091.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/091.xml.ref new file mode 100644 index 0000000..c894440 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/091.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/092.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/092.xml new file mode 100644 index 0000000..be5266d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/092.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "<foo a='&'></foo>">
+]>
+<doc>&e;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/092.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/092.xml.ref new file mode 100644 index 0000000..4469beb --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/092.xml.ref @@ -0,0 +1,7 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startDTD(name="doc", publicId="", systemId="") + internatlEntityDecl(name="e", value="<foo a='&'></foo>") + 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/qxmlsimplereader/xmldocs/not-wf/sa/093.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/093.xml new file mode 100644 index 0000000..4af61bc --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/093.xml @@ -0,0 +1 @@ +<doc>X</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/093.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/093.xml.ref new file mode 100644 index 0000000..a885634 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/093.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/094.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/094.xml new file mode 100644 index 0000000..bdec7a4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/094.xml @@ -0,0 +1,2 @@ +<?xml VERSION="1.0"?>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/094.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/094.xml.ref new file mode 100644 index 0000000..f37fb58 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/094.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/095.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/095.xml new file mode 100644 index 0000000..090b8b4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/095.xml @@ -0,0 +1,2 @@ +<?xml encoding="UTF-8" version="1.0"?>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/095.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/095.xml.ref new file mode 100644 index 0000000..8852f79 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/095.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/096.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/096.xml new file mode 100644 index 0000000..d806c3b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/096.xml @@ -0,0 +1,2 @@ +<?xml version="1.0"encoding="UTF-8" ?>
+<doc></doc>
\ No newline at end of file diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/096.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/096.xml.ref new file mode 100644 index 0000000..ddca718 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/096.xml.ref @@ -0,0 +1,3 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + fatalError(exception={columnNumber=20, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/097.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/097.xml new file mode 100644 index 0000000..d4def54 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/097.xml @@ -0,0 +1,2 @@ +<?xml version="1.0' encoding="UTF-8" ?>
+<doc></doc>
\ No newline at end of file diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/097.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/097.xml.ref new file mode 100644 index 0000000..962de94 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/097.xml.ref @@ -0,0 +1,3 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + fatalError(exception={columnNumber=31, lineNumber=1, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/098.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/098.xml new file mode 100644 index 0000000..9798496 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/098.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" version="1.0"?>
+<doc></doc>
\ No newline at end of file diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/098.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/098.xml.ref new file mode 100644 index 0000000..c1665a4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/098.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/099.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/099.xml new file mode 100644 index 0000000..d5be08e --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/099.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" valid="no" ?>
+<doc></doc>
\ No newline at end of file diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/099.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/099.xml.ref new file mode 100644 index 0000000..2d4e851 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/099.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/100.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/100.xml new file mode 100644 index 0000000..51e0623 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/100.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" standalone="YES" ?>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/100.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/100.xml.ref new file mode 100644 index 0000000..eba06f2 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/100.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/101.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/101.xml new file mode 100644 index 0000000..afa5a45 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/101.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding=" UTF-8"?>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/101.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/101.xml.ref new file mode 100644 index 0000000..068a6ae --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/101.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/102.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/102.xml new file mode 100644 index 0000000..8734ada --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/102.xml @@ -0,0 +1,2 @@ +<?xml version="1.0 " ?>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/102.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/102.xml.ref new file mode 100644 index 0000000..86b6ce0 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/102.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/103.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/103.xml new file mode 100644 index 0000000..6c47167 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/103.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "<foo>">
+]>
+<doc>&e;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/103.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/103.xml.ref new file mode 100644 index 0000000..7a82f96 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/103.xml.ref @@ -0,0 +1,8 @@ +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=[]) + startElement(namespaceURI="", localName="foo", qName="foo", atts=[]) + fatalError(exception={columnNumber=14, lineNumber=4, publicId="", systemId="", message="tag mismatch"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/104.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/104.xml new file mode 100644 index 0000000..dd57396 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/104.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "<foo>">
+]>
+<doc>&e;</foo></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/104.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/104.xml.ref new file mode 100644 index 0000000..8059be1 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/104.xml.ref @@ -0,0 +1,10 @@ +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=[]) + 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/qxmlsimplereader/xmldocs/not-wf/sa/105.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/105.xml new file mode 100644 index 0000000..809e705 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/105.xml @@ -0,0 +1,4 @@ +<?pi stuff?>
+<![CDATA[]]>
+<doc>
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/105.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/105.xml.ref new file mode 100644 index 0000000..ff94b32 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/105.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/106.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/106.xml new file mode 100644 index 0000000..d32319e --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/106.xml @@ -0,0 +1,2 @@ +<?pi data?>
+ <doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/106.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/106.xml.ref new file mode 100644 index 0000000..e5c6c6b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/106.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/107.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/107.xml new file mode 100644 index 0000000..3dfd820 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/107.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<![CDATA[]]>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/107.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/107.xml.ref new file mode 100644 index 0000000..c0c9152 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/107.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/108.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/108.xml new file mode 100644 index 0000000..af5cf50 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/108.xml @@ -0,0 +1,3 @@ +<doc>
+<![CDATA [ ]]>
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/108.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/108.xml.ref new file mode 100644 index 0000000..3be3623 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/108.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/109.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/109.xml new file mode 100644 index 0000000..5afc03e --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/109.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "<doc></doc>">
+]>
+&e;
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/109.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/109.xml.ref new file mode 100644 index 0000000..13140d8 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/109.xml.ref @@ -0,0 +1,6 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startDTD(name="doc", publicId="", systemId="") + internatlEntityDecl(name="e", value="<doc></doc>") + endDTD() + fatalError(exception={columnNumber=1, lineNumber=4, publicId="", systemId="", message="error occurred while parsing element"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/110.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/110.xml new file mode 100644 index 0000000..cf54ebe --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/110.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ENTITY e "">
+]>
+<doc></doc>
+&e;
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/110.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/110.xml.ref new file mode 100644 index 0000000..aa5b66c --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/110.xml.ref @@ -0,0 +1,8 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/111.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/111.xml new file mode 100644 index 0000000..84a469f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/111.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "foo='bar'">
+]>
+<doc &e;></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/111.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/111.xml.ref new file mode 100644 index 0000000..d611ecd --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/111.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/112.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/112.xml new file mode 100644 index 0000000..0c5c1a4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/112.xml @@ -0,0 +1,3 @@ +<doc>
+<![cdata[data]]>
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/112.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/112.xml.ref new file mode 100644 index 0000000..db6c1f3 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/112.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/113.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/113.xml new file mode 100644 index 0000000..04fc9d2 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/113.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY % foo "&">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/113.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/113.xml.ref new file mode 100644 index 0000000..af3a137 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/113.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/114.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/114.xml new file mode 100644 index 0000000..1261ee4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/114.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY foo "&">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/114.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/114.xml.ref new file mode 100644 index 0000000..611a07b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/114.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/115.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/115.xml new file mode 100644 index 0000000..f111dbe --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/115.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "&">
+]>
+<doc a="&e;"></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/115.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/115.xml.ref new file mode 100644 index 0000000..d4a1b97 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/115.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/116.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/116.xml new file mode 100644 index 0000000..84bb762 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/116.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "&#9">
+]>
+<doc>&e;7;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/116.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/116.xml.ref new file mode 100644 index 0000000..f69ee0b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/116.xml.ref @@ -0,0 +1,9 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/117.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/117.xml new file mode 100644 index 0000000..e4a5e57 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/117.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "&">
+]>
+<doc>&e;#97;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/117.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/117.xml.ref new file mode 100644 index 0000000..9c54b53 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/117.xml.ref @@ -0,0 +1,9 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/118.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/118.xml new file mode 100644 index 0000000..494d53d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/118.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "#">
+]>
+<doc>&&e;97;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/118.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/118.xml.ref new file mode 100644 index 0000000..714b497 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/118.xml.ref @@ -0,0 +1,7 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/119.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/119.xml new file mode 100644 index 0000000..aefaa44 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/119.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!ENTITY e "&">
+]>
+<doc>
+&e;#38;
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/119.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/119.xml.ref new file mode 100644 index 0000000..625f318 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/119.xml.ref @@ -0,0 +1,9 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/120.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/120.xml new file mode 100644 index 0000000..b7d6ff9 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/120.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!ENTITY e "&">
+]>
+<doc>
+&e;
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/120.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/120.xml.ref new file mode 100644 index 0000000..56edb37 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/120.xml.ref @@ -0,0 +1,7 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/121.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/121.xml new file mode 100644 index 0000000..2b4adcc --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/121.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY #DEFAULT "default">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/121.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/121.xml.ref new file mode 100644 index 0000000..a9f2c8f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/121.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/122.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/122.xml new file mode 100644 index 0000000..ef0b057 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/122.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (a, (b) | c)?>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/122.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/122.xml.ref new file mode 100644 index 0000000..37b53fc --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/122.xml.ref @@ -0,0 +1,7 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/123.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/123.xml new file mode 100644 index 0000000..06d65f0 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/123.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc ((doc?)))>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/123.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/123.xml.ref new file mode 100644 index 0000000..66978b9 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/123.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/124.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/124.xml new file mode 100644 index 0000000..3bbe0f9 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/124.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (doc|#PCDATA)*>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/124.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/124.xml.ref new file mode 100644 index 0000000..dc05a44 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/124.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/125.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/125.xml new file mode 100644 index 0000000..5f9c22c --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/125.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc ((#PCDATA))>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/125.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/125.xml.ref new file mode 100644 index 0000000..b60c551 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/125.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/126.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/126.xml new file mode 100644 index 0000000..13e74d6 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/126.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)+>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/126.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/126.xml.ref new file mode 100644 index 0000000..03465a2 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/126.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/127.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/127.xml new file mode 100644 index 0000000..a379b9e --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/127.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)?>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/127.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/127.xml.ref new file mode 100644 index 0000000..03465a2 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/127.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/128.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/128.xml new file mode 100644 index 0000000..dd706bb --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/128.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc CDATA>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/128.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/128.xml.ref new file mode 100644 index 0000000..45764a1 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/128.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/129.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/129.xml new file mode 100644 index 0000000..d4e4461 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/129.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc - - (#PCDATA)>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/129.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/129.xml.ref new file mode 100644 index 0000000..45764a1 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/129.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/130.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/130.xml new file mode 100644 index 0000000..fa7be64 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/130.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (doc?) +(foo)>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/130.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/130.xml.ref new file mode 100644 index 0000000..ad943c6 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/130.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/131.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/131.xml new file mode 100644 index 0000000..f34ed45 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/131.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (doc?) -(foo)>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/131.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/131.xml.ref new file mode 100644 index 0000000..ad943c6 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/131.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/132.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/132.xml new file mode 100644 index 0000000..ab6cc41 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/132.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (a, (b, c), (d, (e, f) | g))?>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/132.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/132.xml.ref new file mode 100644 index 0000000..37b53fc --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/132.xml.ref @@ -0,0 +1,7 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/133.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/133.xml new file mode 100644 index 0000000..d2aa604 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/133.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (a *)>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/133.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/133.xml.ref new file mode 100644 index 0000000..d0b59c5 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/133.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/134.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/134.xml new file mode 100644 index 0000000..c8919c5 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/134.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (a) *>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/134.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/134.xml.ref new file mode 100644 index 0000000..9da787c --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/134.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/135.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/135.xml new file mode 100644 index 0000000..e639e8b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/135.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (a & b)?>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/135.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/135.xml.ref new file mode 100644 index 0000000..d0b59c5 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/135.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/136.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/136.xml new file mode 100644 index 0000000..499e68b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/136.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc O O (#PCDATA)>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/136.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/136.xml.ref new file mode 100644 index 0000000..45764a1 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/136.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/137.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/137.xml new file mode 100644 index 0000000..723b77f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/137.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc(#PCDATA)>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/137.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/137.xml.ref new file mode 100644 index 0000000..58b922a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/137.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/138.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/138.xml new file mode 100644 index 0000000..16934cc --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/138.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (doc*?)>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/138.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/138.xml.ref new file mode 100644 index 0000000..51b93a7 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/138.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/139.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/139.xml new file mode 100644 index 0000000..34df52e --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/139.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc ()>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/139.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/139.xml.ref new file mode 100644 index 0000000..5344a45 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/139.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/140.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/140.xml new file mode 100644 index 0000000..467d5ed --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/140.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "<゚></゚>">
+]>
+<doc>&e;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/140.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/140.xml.ref new file mode 100644 index 0000000..123df1a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/140.xml.ref @@ -0,0 +1,7 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/141.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/141.xml new file mode 100644 index 0000000..409d0a7 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/141.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "<X๜></X๜>">
+]>
+<doc>&e;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/141.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/141.xml.ref new file mode 100644 index 0000000..1b6d921 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/141.xml.ref @@ -0,0 +1,7 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startDTD(name="doc", publicId="", systemId="") + internatlEntityDecl(name="e", value="<X๜></X๜>") + 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/qxmlsimplereader/xmldocs/not-wf/sa/142.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/142.xml new file mode 100644 index 0000000..20e88f8 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/142.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+]>
+<doc>�</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/142.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/142.xml.ref Binary files differnew file mode 100644 index 0000000..7ce4da6 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/142.xml.ref diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/143.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/143.xml new file mode 100644 index 0000000..0ee1c61 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/143.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/143.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/143.xml.ref new file mode 100644 index 0000000..664bfb7 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/143.xml.ref @@ -0,0 +1,8 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/144.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/144.xml new file mode 100644 index 0000000..437548c --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/144.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/144.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/144.xml.ref new file mode 100644 index 0000000..8d31430 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/144.xml.ref @@ -0,0 +1,8 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/145.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/145.xml new file mode 100644 index 0000000..71b187a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/145.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+]>
+<doc>�</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/145.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/145.xml.ref new file mode 100644 index 0000000..279ece7 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/145.xml.ref @@ -0,0 +1,8 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/146.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/146.xml new file mode 100644 index 0000000..d0bfbca --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/146.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+]>
+<doc>�</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/146.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/146.xml.ref Binary files differnew file mode 100644 index 0000000..7ce4da6 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/146.xml.ref diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/147.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/147.xml new file mode 100644 index 0000000..3b61456 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/147.xml @@ -0,0 +1,3 @@ +
+<?xml version="1.0"?>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/147.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/147.xml.ref new file mode 100644 index 0000000..dd85a80 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/147.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/148.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/148.xml new file mode 100644 index 0000000..774dce1 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/148.xml @@ -0,0 +1,3 @@ +<!-- -->
+<?xml version="1.0"?>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/148.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/148.xml.ref new file mode 100644 index 0000000..9b58eb0 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/148.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/149.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/149.xml new file mode 100644 index 0000000..725eea0 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/149.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<?xml version="1.0"?>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/149.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/149.xml.ref new file mode 100644 index 0000000..aa73988 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/149.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/150.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/150.xml new file mode 100644 index 0000000..44f6b6d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/150.xml @@ -0,0 +1,3 @@ +<doc>
+<?xml version="1.0"?>
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/150.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/150.xml.ref new file mode 100644 index 0000000..2bc5abe --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/150.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/151.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/151.xml new file mode 100644 index 0000000..fecc4f2 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/151.xml @@ -0,0 +1,3 @@ +<doc>
+</doc>
+<?xml version="1.0"?>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/151.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/151.xml.ref new file mode 100644 index 0000000..e5d98b1 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/151.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/152.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/152.xml new file mode 100644 index 0000000..b5c5cb2 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/152.xml @@ -0,0 +1,2 @@ +<?xml encoding="UTF-8"?>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/152.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/152.xml.ref new file mode 100644 index 0000000..8852f79 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/152.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/153.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/153.xml new file mode 100644 index 0000000..5e29737 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/153.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ENTITY e "<?xml encoding='UTF-8'?>">
+]>
+<doc>&e;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/153.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/153.xml.ref new file mode 100644 index 0000000..1198fe0 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/153.xml.ref @@ -0,0 +1,7 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startDTD(name="doc", publicId="", systemId="") + internatlEntityDecl(name="e", value="<?xml encoding='UTF-8'?>") + 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/qxmlsimplereader/xmldocs/not-wf/sa/154.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/154.xml new file mode 100644 index 0000000..96e01d6 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/154.xml @@ -0,0 +1,2 @@ +<?XML version="1.0"?>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/154.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/154.xml.ref new file mode 100644 index 0000000..74a9eb1 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/154.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/155.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/155.xml new file mode 100644 index 0000000..4f16d0f --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/155.xml @@ -0,0 +1,2 @@ +<?xmL version="1.0"?>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/155.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/155.xml.ref new file mode 100644 index 0000000..74a9eb1 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/155.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/156.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/156.xml new file mode 100644 index 0000000..c6d93fd --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/156.xml @@ -0,0 +1,3 @@ +<doc>
+<?xMl version="1.0"?>
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/156.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/156.xml.ref new file mode 100644 index 0000000..2bc5abe --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/156.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/157.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/157.xml new file mode 100644 index 0000000..2f058da --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/157.xml @@ -0,0 +1,3 @@ +<doc>
+<?xmL?>
+</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/157.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/157.xml.ref new file mode 100644 index 0000000..2bc5abe --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/157.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/158.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/158.xml new file mode 100644 index 0000000..32b90b7 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/158.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!NOTATION gif PUBLIC "image/gif" "">
+<!ATTLIST #NOTATION gif a1 CDATA #IMPLIED>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/158.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/158.xml.ref new file mode 100644 index 0000000..38210c2 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/158.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/159.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/159.xml new file mode 100644 index 0000000..066244c --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/159.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ENTITY e "<![CDATA[Tim & Michael]]>">
+]>
+<doc>&e;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/159.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/159.xml.ref new file mode 100644 index 0000000..f044a71 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/159.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/160.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/160.xml new file mode 100644 index 0000000..85424ac --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/160.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ENTITY % e "">
+<!ENTITY foo "%e;">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/160.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/160.xml.ref new file mode 100644 index 0000000..0c1afe8 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/160.xml.ref @@ -0,0 +1,9 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/161.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/161.xml new file mode 100644 index 0000000..4f8a5b7 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/161.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ENTITY % e "#PCDATA">
+<!ELEMENT doc (%e;)>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/161.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/161.xml.ref new file mode 100644 index 0000000..35ee5e8 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/161.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/162.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/162.xml new file mode 100644 index 0000000..efae4b1 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/162.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ENTITY % e1 "">
+<!ENTITY % e2 "%e1;">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/162.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/162.xml.ref new file mode 100644 index 0000000..a802c74 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/162.xml.ref @@ -0,0 +1,9 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/163.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/163.xml new file mode 100644 index 0000000..e14fb76 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/163.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ENTITY % e "">
+]>
+%e;
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/163.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/163.xml.ref new file mode 100644 index 0000000..e4c3225 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/163.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/164.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/164.xml new file mode 100644 index 0000000..98dd267 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/164.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ENTITY % e "">
+] %e; >
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/164.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/164.xml.ref new file mode 100644 index 0000000..8031434 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/164.xml.ref @@ -0,0 +1,5 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/165.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/165.xml new file mode 100644 index 0000000..36c0461 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/165.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ENTITY% e "">
+<!ELEMENT doc (#PCDATA)>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/165.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/165.xml.ref new file mode 100644 index 0000000..64fd8b4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/165.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/166.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/166.xml new file mode 100644 index 0000000..ee2ce28 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/166.xml @@ -0,0 +1 @@ +<doc>ï¿¿</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/166.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/166.xml.ref new file mode 100644 index 0000000..dca4f7b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/166.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/167.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/167.xml new file mode 100644 index 0000000..9bdc6c1 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/167.xml @@ -0,0 +1 @@ +<doc>￾</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/167.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/167.xml.ref new file mode 100644 index 0000000..dca4f7b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/167.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/168.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/168.xml new file mode 100644 index 0000000..f83221a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/168.xml @@ -0,0 +1 @@ +<doc>í €</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/168.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/168.xml.ref new file mode 100644 index 0000000..6165984 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/168.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/169.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/169.xml new file mode 100644 index 0000000..310029b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/169.xml @@ -0,0 +1 @@ +<doc>í°€</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/169.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/169.xml.ref new file mode 100644 index 0000000..78385bd --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/169.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/170.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/170.xml new file mode 100644 index 0000000..cfa0aee --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/170.xml @@ -0,0 +1 @@ +<doc>÷€€€</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/170.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/170.xml.ref new file mode 100644 index 0000000..0508ee8 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/170.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/171.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/171.xml new file mode 100644 index 0000000..48b5c7d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/171.xml @@ -0,0 +1,2 @@ +<!-- ï¿¿ -->
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/171.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/171.xml.ref new file mode 100644 index 0000000..f729ad3 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/171.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/172.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/172.xml new file mode 100644 index 0000000..6651d4d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/172.xml @@ -0,0 +1,2 @@ +<?pi ï¿¿?>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/172.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/172.xml.ref new file mode 100644 index 0000000..f729ad3 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/172.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/173.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/173.xml new file mode 100644 index 0000000..f9f9f42 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/173.xml @@ -0,0 +1 @@ +<doc a="ï¿¿"></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/173.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/173.xml.ref new file mode 100644 index 0000000..cda5d63 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/173.xml.ref @@ -0,0 +1,3 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/174.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/174.xml new file mode 100644 index 0000000..42bef86 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/174.xml @@ -0,0 +1 @@ +<doc><![CDATA[ï¿¿]]></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/174.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/174.xml.ref new file mode 100644 index 0000000..5f23fbd --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/174.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/175.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/175.xml new file mode 100644 index 0000000..69912f3 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/175.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ENTITY % e "ï¿¿">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/175.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/175.xml.ref new file mode 100644 index 0000000..27549bc --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/175.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/176.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/176.xml new file mode 100644 index 0000000..39153ad --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/176.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [ +<!ELEMENT doc (#PCDATA)> +]> +<doc>
\ No newline at end of file diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/176.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/176.xml.ref new file mode 100644 index 0000000..4348506 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/176.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/177.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/177.xml new file mode 100644 index 0000000..6bc8228 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/177.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+]>
+<doc>Aï¿¿</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/177.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/177.xml.ref new file mode 100644 index 0000000..94f3c3b --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/177.xml.ref @@ -0,0 +1,6 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/178.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/178.xml new file mode 100644 index 0000000..e8f2d18 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/178.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a CDATA #IMPLIED>
+]>
+<doc a=""></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/178.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/178.xml.ref new file mode 100644 index 0000000..5aae44a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/178.xml.ref @@ -0,0 +1,6 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startDTD(name="doc", publicId="", systemId="") + attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="") + endDTD() + fatalError(exception={columnNumber=15, lineNumber=5, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/179.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/179.xml new file mode 100644 index 0000000..e8f1f41 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/179.xml @@ -0,0 +1,4 @@ +<!DOCTYPE doc [
+<!ENTITY e "">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/179.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/179.xml.ref new file mode 100644 index 0000000..a4c6cff --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/179.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/180.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/180.xml new file mode 100644 index 0000000..569d553 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/180.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc a CDATA "&e;">
+<!ENTITY e "v">
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/180.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/180.xml.ref new file mode 100644 index 0000000..42542d9 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/180.xml.ref @@ -0,0 +1,10 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/181.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/181.xml new file mode 100644 index 0000000..4341d99 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/181.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ENTITY e "<![CDATA[">
+<!ELEMENT doc (#PCDATA)>
+]>
+<doc>&e;]]></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/181.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/181.xml.ref new file mode 100644 index 0000000..8e1b445 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/181.xml.ref @@ -0,0 +1,11 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startDTD(name="doc", publicId="", systemId="") + internatlEntityDecl(name="e", value="<![CDATA[") + endDTD() + startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) + startCDATA() + characters(ch="") + endCDATA() + endElement(namespaceURI="", localName="doc", qName="doc") +endDocument() diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/182.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/182.xml new file mode 100644 index 0000000..920f431 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/182.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ENTITY e "<!--">
+<!ELEMENT doc (#PCDATA)>
+]>
+<doc>&e;--></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/182.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/182.xml.ref new file mode 100644 index 0000000..abb11af --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/182.xml.ref @@ -0,0 +1,9 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startDTD(name="doc", publicId="", systemId="") + internatlEntityDecl(name="e", value="<!--") + endDTD() + startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) + comment(ch="") + endElement(namespaceURI="", localName="doc", qName="doc") +endDocument() diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/183.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/183.xml new file mode 100644 index 0000000..7a5677d --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/183.xml @@ -0,0 +1,5 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA | foo*)* >
+<!ELEMENT foo EMPTY>
+]>
+<doc></doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/183.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/183.xml.ref new file mode 100644 index 0000000..d49ec68 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/183.xml.ref @@ -0,0 +1,4 @@ +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/qxmlsimplereader/xmldocs/not-wf/sa/184.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/184.xml new file mode 100644 index 0000000..103384a --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/184.xml @@ -0,0 +1,6 @@ +<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA | (foo))* >
+<!ELEMENT foo EMPTY>
+]>
+<doc></doc>
+
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/184.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/184.xml.ref new file mode 100644 index 0000000..8d879bf --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/184.xml.ref @@ -0,0 +1,4 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startDTD(name="doc", publicId="", systemId="") + fatalError(exception={columnNumber=26, lineNumber=2, publicId="", systemId="", message="unexpected character"}) diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/185.ent b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/185.ent new file mode 100644 index 0000000..e557426 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/185.ent @@ -0,0 +1 @@ +<!ELEMENT doc (#PCDATA)>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/185.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/185.xml new file mode 100644 index 0000000..81d5ef4 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/185.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" standalone="yes"?>
+<!DOCTYPE doc SYSTEM "185.ent">
+<doc>&e;</doc>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/185.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/185.xml.ref new file mode 100644 index 0000000..7f58383 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/185.xml.ref @@ -0,0 +1,9 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + processingInstruction(target="xml", data="version='1.0' standalone='yes'") + startDTD(name="doc", publicId="", systemId="185.ent") + endDTD() + startElement(namespaceURI="", localName="doc", qName="doc", atts=[]) + skippedEntity(name="e") + endElement(namespaceURI="", localName="doc", qName="doc") +endDocument() diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/186.xml b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/186.xml new file mode 100644 index 0000000..85b26ec --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/186.xml @@ -0,0 +1,5 @@ +<!DOCTYPE a [
+<!ELEMENT a EMPTY>
+<!ATTLIST a b CDATA #IMPLIED d CDATA #IMPLIED>
+]>
+<a b="c"d="e"/>
diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/186.xml.ref b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/186.xml.ref new file mode 100644 index 0000000..63d0d3e --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/186.xml.ref @@ -0,0 +1,9 @@ +setDocumentLocator(locator={columnNumber=1, lineNumber=1}) +startDocument() + startDTD(name="a", publicId="", systemId="") + attributeDecl(eName="a", aName="b", type="", valueDefault="", value="") + attributeDecl(eName="a", aName="d", type="", valueDefault="", value="") + endDTD() + startElement(namespaceURI="", localName="a", qName="a", atts=[{localName="b", qName="b", uri="", type="CDATA", value="c"}, {localName="d", qName="d", uri="", type="CDATA", value="e"}]) + endElement(namespaceURI="", localName="a", qName="a") +endDocument() diff --git a/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/null.ent b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/null.ent new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/auto/qxmlsimplereader/xmldocs/not-wf/sa/null.ent |