summaryrefslogtreecommitdiffstats
path: root/test/xml/invalids
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
commitc484829272cd13a738e35412498e12f2c9a194ac (patch)
treea1f5ec09629ee895bd3963fa8820b45f2f4c574b /test/xml/invalids
parentInitial commit. (diff)
downloadliborcus-c484829272cd13a738e35412498e12f2c9a194ac.tar.xz
liborcus-c484829272cd13a738e35412498e12f2c9a194ac.zip
Adding upstream version 0.19.2.upstream/0.19.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/xml/invalids')
-rw-r--r--test/xml/invalids/double-boms-and-invalid-byte.xml1
-rw-r--r--test/xml/invalids/only-bom.xml1
-rw-r--r--test/xml/invalids/only-double-boms.xml1
-rw-r--r--test/xml/invalids/partial-attr-value-with-encoding-char.xml2
-rw-r--r--test/xml/invalids/partial-open-element.xml2
5 files changed, 7 insertions, 0 deletions
diff --git a/test/xml/invalids/double-boms-and-invalid-byte.xml b/test/xml/invalids/double-boms-and-invalid-byte.xml
new file mode 100644
index 0000000..43254d2
--- /dev/null
+++ b/test/xml/invalids/double-boms-and-invalid-byte.xml
@@ -0,0 +1 @@
+»<?xml version="1.0" ?><root/> \ No newline at end of file
diff --git a/test/xml/invalids/only-bom.xml b/test/xml/invalids/only-bom.xml
new file mode 100644
index 0000000..5f28270
--- /dev/null
+++ b/test/xml/invalids/only-bom.xml
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/test/xml/invalids/only-double-boms.xml b/test/xml/invalids/only-double-boms.xml
new file mode 100644
index 0000000..83ea941
--- /dev/null
+++ b/test/xml/invalids/only-double-boms.xml
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/test/xml/invalids/partial-attr-value-with-encoding-char.xml b/test/xml/invalids/partial-attr-value-with-encoding-char.xml
new file mode 100644
index 0000000..a0237ab
--- /dev/null
+++ b/test/xml/invalids/partial-attr-value-with-encoding-char.xml
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<root attr="encoding char is present &amp; no closing quote.
diff --git a/test/xml/invalids/partial-open-element.xml b/test/xml/invalids/partial-open-element.xml
new file mode 100644
index 0000000..7f93d4f
--- /dev/null
+++ b/test/xml/invalids/partial-open-element.xml
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<root