You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2004/02/07 16:49:56 UTC
cvs commit: cocoon-2.1/src/webapp/samples/aggregation/content test.xml
joerg 2004/02/07 07:49:56
Modified: src/webapp/samples/aggregation/content test.xml
Log:
temporary "fix" for the XInclude sample: Xerces seems to no longer know about xi:fallback.
Revision Changes Path
1.2 +3 -2 cocoon-2.1/src/webapp/samples/aggregation/content/test.xml
Index: test.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/aggregation/content/test.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- test.xml 16 Aug 2003 01:44:12 -0000 1.1
+++ test.xml 7 Feb 2004 15:49:56 -0000 1.2
@@ -13,11 +13,12 @@
<para><b><![CDATA[<xi:include href="test2.xml#xmlns(my=http://localhost/my)xpointer(/page/content/my:abc/*)"/>]]></b></para>
<xi:include href="test2.xml#xmlns(my=http://localhost/my)xpointer(/page/content/my:abc/*)"/>
-
<hr/>
<para><b>Inclusion with an invalid xpointer expression, will cause fallback
element content to be inserted:</b></para>
<para><b><![CDATA[<xi:include href="test2.xml#xpointer(">]]></b></para>
+ <para><b><i>This sample is removed at the moment as Xerces seems to have problems with xi:fallback: "Unknown XInclude element xi:fallback ..."</i></b></para>
+ <!--
<xi:include href="test2.xml#xpointer(">
<a>
<b>
@@ -29,7 +30,7 @@
</xi:fallback>
And here's some more text you shouldn't see.
</xi:include>
-
+ -->
<hr/>
<para><b><![CDATA[
<xi:include href="#xmlns(xi=http://www.w3.org/2001/XInclude)xpointer(/page/content/xi:include[1])"/>