summaryrefslogtreecommitdiff
path: root/test/XInclude
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-12-09 11:35:37 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-12-09 11:35:37 +0000
commite74d2e1cb85b184b327c1b41d2b1c2dfbcc653d7 (patch)
tree6d842f169da842b21c0c5d962534d52272d704dd /test/XInclude
parentb5fa02085e6de2dfb5b05e7c6ba0eb2efb6130b4 (diff)
downloadlibxml2-e74d2e1cb85b184b327c1b41d2b1c2dfbcc653d7.tar.gz
augmented the XInclude API to be able to pass XML parser flags down to the
* xinclude.c xmllint.c xmlreader.c include/libxml/xinclude.h include/libxml/xmlerror.h: augmented the XInclude API to be able to pass XML parser flags down to the Inclusion process. Also resynchronized with the Last Call W3C Working Draft 10 November 2003 for the xpointer attribute. * Makefile.am test/XInclude/docs/nodes[23].xml result/XInclude/*: augmented the tests for the new namespace and testing the xpointer attribute, changed the way error messages are tested * doc/*: regenerated the documentation Daniel
Diffstat (limited to 'test/XInclude')
-rw-r--r--test/XInclude/docs/nodes2.xml4
-rw-r--r--test/XInclude/docs/nodes3.xml4
2 files changed, 8 insertions, 0 deletions
diff --git a/test/XInclude/docs/nodes2.xml b/test/XInclude/docs/nodes2.xml
new file mode 100644
index 00000000..32f8cfe8
--- /dev/null
+++ b/test/XInclude/docs/nodes2.xml
@@ -0,0 +1,4 @@
+<x xmlns:xinclude="http://www.w3.org/2003/XInclude">
+ <!-- Simple test of including a set of nodes from an XML document -->
+ <xinclude:include href="../ents/something.xml" xpointer="xpointer(//p)"/>
+</x>
diff --git a/test/XInclude/docs/nodes3.xml b/test/XInclude/docs/nodes3.xml
new file mode 100644
index 00000000..355c5488
--- /dev/null
+++ b/test/XInclude/docs/nodes3.xml
@@ -0,0 +1,4 @@
+<x xmlns:xinclude="http://www.w3.org/2003/XInclude">
+ <!-- Simple test of including a set of nodes from an XML document -->
+ <xinclude:include href="../ents/something.xml#xpointer(//p)"/>
+</x>