summaryrefslogtreecommitdiff
path: root/test/XInclude
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-11-20 13:28:31 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-11-20 13:28:31 +0000
commitd076a20ea6254753201004ec444ac38728197a2d (patch)
treeaf0af37acfb55e03410efbb2685ccaf8aa0551d6 /test/XInclude
parent817e70b6ac0446d9abb6b832963c3473e71b640c (diff)
downloadlibxml2-d076a20ea6254753201004ec444ac38728197a2d.tar.gz
fixed #99082 for xi:include encoding="..." support on text includes. added
* xinclude.c parserInternals.c encoding.c: fixed #99082 for xi:include encoding="..." support on text includes. * result/XInclude/tstencoding.xml test/XInclude/docs/tstencoding.xml test/XInclude/ents/isolatin.txt : added a specific regression test * python/generator.py python/libxml2class.txt: fixed the generator the new set of comments generated for doc/libxml2-api.xml were breaking the python generation. Daniel
Diffstat (limited to 'test/XInclude')
-rw-r--r--test/XInclude/docs/tstencoding.xml5
-rw-r--r--test/XInclude/ents/isolatin.txt1
2 files changed, 6 insertions, 0 deletions
diff --git a/test/XInclude/docs/tstencoding.xml b/test/XInclude/docs/tstencoding.xml
new file mode 100644
index 00000000..b1309a9f
--- /dev/null
+++ b/test/XInclude/docs/tstencoding.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<x xmlns:xinclude="http://www.w3.org/2001/XInclude">
+ <!-- Simple test of including another text document -->
+ <xinclude:include href="../ents/isolatin.txt" encoding="ISO-8859-1" parse="text"/>
+</x>
diff --git a/test/XInclude/ents/isolatin.txt b/test/XInclude/ents/isolatin.txt
new file mode 100644
index 00000000..d1dbf707
--- /dev/null
+++ b/test/XInclude/ents/isolatin.txt
@@ -0,0 +1 @@
+test with accents in ISO-8859-1: À Á é è