aboutsummaryrefslogtreecommitdiffstats
path: root/result
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-07-04 11:12:25 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-07-04 11:12:25 +0000
commit3fa5e7e44c30093aee705ea4bcd48fc803f5bb7a (patch)
treebae3bea349285c90f94d1f3ed641012369cdd34d /result
parent20887eef62c93f1b45ec40f4f4b564730a0ba0e8 (diff)
downloadandroid_external_libxml2-3fa5e7e44c30093aee705ea4bcd48fc803f5bb7a.tar.gz
android_external_libxml2-3fa5e7e44c30093aee705ea4bcd48fc803f5bb7a.tar.bz2
android_external_libxml2-3fa5e7e44c30093aee705ea4bcd48fc803f5bb7a.zip
fixed a bug failing to detect UTF-8 violations in CData in push mode.
* parser.c: fixed a bug failing to detect UTF-8 violations in CData in push mode. * result/errors/cdata.xml* test/errors/cdata.xml: added the test to the regressions Daniel
Diffstat (limited to 'result')
-rw-r--r--result/errors/cdata.xml0
-rw-r--r--result/errors/cdata.xml.err4
-rw-r--r--result/errors/cdata.xml.str5
3 files changed, 9 insertions, 0 deletions
diff --git a/result/errors/cdata.xml b/result/errors/cdata.xml
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/result/errors/cdata.xml
diff --git a/result/errors/cdata.xml.err b/result/errors/cdata.xml.err
new file mode 100644
index 00000000..f757963f
--- /dev/null
+++ b/result/errors/cdata.xml.err
@@ -0,0 +1,4 @@
+./test/errors/cdata.xml:2: parser error : Input is not proper UTF-8, indicate encoding !
+Bytes: 0xE1 0x72 0x5D 0x5D
+<A><![CDATA[Cár]]></A>
+ ^
diff --git a/result/errors/cdata.xml.str b/result/errors/cdata.xml.str
new file mode 100644
index 00000000..e043441a
--- /dev/null
+++ b/result/errors/cdata.xml.str
@@ -0,0 +1,5 @@
+./test/errors/cdata.xml:2: parser error : Input is not proper UTF-8, indicate encoding !
+Bytes: 0x5B 0x43 0xE1 0x72
+<A><![CDATA[Cár]]></A>
+ ^
+./test/errors/cdata.xml : failed to parse