aboutsummaryrefslogtreecommitdiffstats
path: root/result
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2008-03-06 14:37:10 +0000
committerDaniel Veillard <veillard@src.gnome.org>2008-03-06 14:37:10 +0000
commit57c9db0725d63b27709a9f040888b160f29573a3 (patch)
treeb493024b94ce3e19e3f0ce8b453abd87694c4aac /result
parentccc476f177312548342c0a8cc921445024ebc7d2 (diff)
downloadandroid_external_libxml2-57c9db0725d63b27709a9f040888b160f29573a3.tar.gz
android_external_libxml2-57c9db0725d63b27709a9f040888b160f29573a3.tar.bz2
android_external_libxml2-57c9db0725d63b27709a9f040888b160f29573a3.zip
poblem with encoding detection for UTF-16 reported by Ashwin and found by
* encoding.c: poblem with encoding detection for UTF-16 reported by Ashwin and found by Bill * test/valid/dtds/utf16b.ent test/valid/dtds/utf16l.ent test/valid/UTF16Entity.xml result/valid/UTF16Entity.xml*: added the example to the regression tests Daniel svn path=/trunk/; revision=3700
Diffstat (limited to 'result')
-rw-r--r--result/valid/UTF16Entity.xml8
-rw-r--r--result/valid/UTF16Entity.xml.err0
2 files changed, 8 insertions, 0 deletions
diff --git a/result/valid/UTF16Entity.xml b/result/valid/UTF16Entity.xml
new file mode 100644
index 00000000..63cbba22
--- /dev/null
+++ b/result/valid/UTF16Entity.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!DOCTYPE foo [
+<!ELEMENT foo (root)*>
+<!ELEMENT root EMPTY>
+<!ENTITY utf16b SYSTEM "dtds/utf16b.ent">
+<!ENTITY utf16l SYSTEM "dtds/utf16l.ent">
+]>
+<foo> &utf16b; &utf16l; </foo>
diff --git a/result/valid/UTF16Entity.xml.err b/result/valid/UTF16Entity.xml.err
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/result/valid/UTF16Entity.xml.err