1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-01 10:06:59 +03:00

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

- result/XInclude/include test/XInclude/include: updated the
  testsuite accordingly
Daniel
This commit is contained in:
Daniel Veillard
2001-05-23 12:02:27 +00:00
parent 8514c674b2
commit bbd2245844
8 changed files with 15 additions and 9 deletions

View File

@ -1,3 +1,9 @@
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> 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, * uri.[ch]: applied a patch from Carl Douglas for URI escaping,

View File

@ -1,5 +1,5 @@
<?xml version="1.0"?> <?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 --> <!-- Simple test of including another XML document -->
<doc> <doc>
<p>something</p> <p>something</p>

View File

@ -1,5 +1,5 @@
<?xml version="1.0"?> <?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 --> <!-- Simple test of including a set of nodes from an XML document -->
<p>something</p><p>really</p><p>simple</p> <p>something</p><p>really</p><p>simple</p>
</x> </x>

View File

@ -1,5 +1,5 @@
<?xml version="1.0"?> <?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 --> <!-- Simple test of including another text document -->
this is some text in ASCII this is some text in ASCII

View File

@ -1,4 +1,4 @@
<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 --> <!-- Simple test of including another XML document -->
<xinclude:include href="../ents/something.xml"/> <xinclude:include href="../ents/something.xml"/>
</x> </x>

View File

@ -1,4 +1,4 @@
<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 --> <!-- Simple test of including a set of nodes from an XML document -->
<xinclude:include href="../ents/something.xml#xpointer(//p)"/> <xinclude:include href="../ents/something.xml#xpointer(//p)"/>
</x> </x>

View File

@ -1,4 +1,4 @@
<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 --> <!-- Simple test of including another text document -->
<xinclude:include href="../ents/something.txt" parse="text"/> <xinclude:include href="../ents/something.txt" parse="text"/>
</x> </x>

View File

@ -1,8 +1,8 @@
/* /*
* xinclude.c : Code to implement XInclude processing * xinclude.c : Code to implement XInclude processing
* *
* World Wide Web Consortium Working Draft 26 October 2000 * World Wide Web Consortium W3C Last Call Working Draft 16 May 2001
* http://www.w3.org/TR/2000/WD-xinclude-20001026 * http://www.w3.org/TR/2001/WD-xinclude-20010516/
* *
* See Copyright for the status of this software. * See Copyright for the status of this software.
* *
@ -30,7 +30,7 @@
#ifdef LIBXML_XINCLUDE_ENABLED #ifdef LIBXML_XINCLUDE_ENABLED
#include <libxml/xinclude.h> #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_NODE (const xmlChar *) "include"
#define XINCLUDE_HREF (const xmlChar *) "href" #define XINCLUDE_HREF (const xmlChar *) "href"
#define XINCLUDE_PARSE (const xmlChar *) "parse" #define XINCLUDE_PARSE (const xmlChar *) "parse"