aboutsummaryrefslogtreecommitdiffstats
path: root/test/XInclude/docs/fallback.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/XInclude/docs/fallback.xml')
-rw-r--r--test/XInclude/docs/fallback.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/XInclude/docs/fallback.xml b/test/XInclude/docs/fallback.xml
new file mode 100644
index 00000000..e80222e4
--- /dev/null
+++ b/test/XInclude/docs/fallback.xml
@@ -0,0 +1,6 @@
+<x xmlns:xinclude="http://www.w3.org/2001/XInclude">
+ <!-- Simple test of a fallback on unavailble URI -->
+ <xinclude:include href="something.xml">
+ <xinclude:fallback><warning>Inclusion failed</warning></xinclude:fallback>
+ </xinclude:include>
+</x>