Commit bbd22458 authored by Daniel Veillard's avatar Daniel Veillard

- xinclude.[ch]: Updated the namespace for the Last Call version

- result/XInclude/include test/XInclude/include: updated the
  testsuite accordingly
Daniel
parent 8514c674
Wed May 23 13:59:19 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* xinclude.[ch]: Updated the namespace for the Last Call version
* result/XInclude/include test/XInclude/include: updated the
testsuite accordingly
Wed May 23 12:27:44 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* uri.[ch]: applied a patch from Carl Douglas for URI escaping,
......
<?xml version="1.0"?>
<x xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
<x xmlns:xinclude="http://www.w3.org/2001/XInclude">
<!-- Simple test of including another XML document -->
<doc>
<p>something</p>
......
<?xml version="1.0"?>
<x xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
<x xmlns:xinclude="http://www.w3.org/2001/XInclude">
<!-- Simple test of including a set of nodes from an XML document -->
<p>something</p><p>really</p><p>simple</p>
</x>
<?xml version="1.0"?>
<x xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
<x xmlns:xinclude="http://www.w3.org/2001/XInclude">
<!-- Simple test of including another text document -->
this is some text in ASCII
......
<x xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
<x xmlns:xinclude="http://www.w3.org/2001/XInclude">
<!-- Simple test of including another XML document -->
<xinclude:include href="../ents/something.xml"/>
</x>
<x xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
<x xmlns:xinclude="http://www.w3.org/2001/XInclude">
<!-- Simple test of including a set of nodes from an XML document -->
<xinclude:include href="../ents/something.xml#xpointer(//p)"/>
</x>
<x xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
<x xmlns:xinclude="http://www.w3.org/2001/XInclude">
<!-- Simple test of including another text document -->
<xinclude:include href="../ents/something.txt" parse="text"/>
</x>
/*
* xinclude.c : Code to implement XInclude processing
*
* World Wide Web Consortium Working Draft 26 October 2000
* http://www.w3.org/TR/2000/WD-xinclude-20001026
* World Wide Web Consortium W3C Last Call Working Draft 16 May 2001
* http://www.w3.org/TR/2001/WD-xinclude-20010516/
*
* See Copyright for the status of this software.
*
......@@ -30,7 +30,7 @@
#ifdef LIBXML_XINCLUDE_ENABLED
#include <libxml/xinclude.h>
#define XINCLUDE_NS (const xmlChar *) "http://www.w3.org/1999/XML/xinclude"
#define XINCLUDE_NS (const xmlChar *) "http://www.w3.org/2001/XInclude"
#define XINCLUDE_NODE (const xmlChar *) "include"
#define XINCLUDE_HREF (const xmlChar *) "href"
#define XINCLUDE_PARSE (const xmlChar *) "parse"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment