aboutsummaryrefslogtreecommitdiffstats
path: root/result
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-07-31 12:17:24 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-07-31 12:17:24 +0000
commitc740a17f453f1b5de647c394362aa85c64c3003b (patch)
treef7e9c6171516cca5268d4577ecf6f850f97a5799 /result
parent22cce34629365d9238c4532dfac530f614adaaba (diff)
downloadandroid_external_libxml2-c740a17f453f1b5de647c394362aa85c64c3003b.tar.gz
android_external_libxml2-c740a17f453f1b5de647c394362aa85c64c3003b.tar.bz2
android_external_libxml2-c740a17f453f1b5de647c394362aa85c64c3003b.zip
fixing the loop bug, fixing schematron text error rendering started
* schematron.c xmllint.c: fixing the loop bug, fixing schematron text error rendering * Makefile.am result/schematron/* test/schematron/zvon1*.sct: started integrating within "make tests" Daniel
Diffstat (limited to 'result')
-rw-r--r--result/schematron/zvon1_04
-rw-r--r--result/schematron/zvon1_0.err8
-rw-r--r--result/schematron/zvon1_14
-rw-r--r--result/schematron/zvon1_1.err8
4 files changed, 24 insertions, 0 deletions
diff --git a/result/schematron/zvon1_0 b/result/schematron/zvon1_0
new file mode 100644
index 00000000..9aae4b1e
--- /dev/null
+++ b/result/schematron/zvon1_0
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<AAA>
+ <BBB/>
+</AAA>
diff --git a/result/schematron/zvon1_0.err b/result/schematron/zvon1_0.err
new file mode 100644
index 00000000..0d421844
--- /dev/null
+++ b/result/schematron/zvon1_0.err
@@ -0,0 +1,8 @@
+Pattern: Print both cases
+/AAA line 1: BBB element is present.
+/AAA line 1: AAA misses attribute name.
+Pattern: Print positive result only
+/AAA line 1: BBB element is present.
+Pattern: Print negative result only
+/AAA line 1: AAA misses attribute name.
+./test/schematron/zvon1_0.xml fails to validate
diff --git a/result/schematron/zvon1_1 b/result/schematron/zvon1_1
new file mode 100644
index 00000000..0a06953a
--- /dev/null
+++ b/result/schematron/zvon1_1
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<AAA>
+ <CCC/>
+</AAA>
diff --git a/result/schematron/zvon1_1.err b/result/schematron/zvon1_1.err
new file mode 100644
index 00000000..70ee87a7
--- /dev/null
+++ b/result/schematron/zvon1_1.err
@@ -0,0 +1,8 @@
+Pattern: Print both cases
+/AAA line 1: BBB element is missing.
+/AAA line 1: AAA misses attribute name.
+Pattern: Print positive result only
+Pattern: Print negative result only
+/AAA line 1: BBB element is missing.
+/AAA line 1: AAA misses attribute name.
+./test/schematron/zvon1_1.xml fails to validate