summaryrefslogtreecommitdiff
path: root/tests/REC
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-07-05 08:59:37 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-07-05 08:59:37 +0000
commit15ea351154262cd724dd151c0c684c26eacca3e3 (patch)
tree4379a2be6432bcde167e2872cd6aee87da3acb2f /tests/REC
parentffc52efd1d107602e9b4ef8b75681ecf412becdb (diff)
downloadlibxslt-15ea351154262cd724dd151c0c684c26eacca3e3.tar.gz
libxslt-15ea351154262cd724dd151c0c684c26eacca3e3.tar.bz2
libxslt-15ea351154262cd724dd151c0c684c26eacca3e3.zip
updated do not dump document for which there have been no generated
* FEATURES: updated * libxslt/xsltutils.c: do not dump document for which there have been no generated content * tests/multiple/result.xml tests/namespaces/extra2.out: fixed test output accordingly * libxslt/transform.c libxslt/preproc.c: added xsl:fallback support * tests/REC/Makefile.am tests/REC/test-15-1.*: xsl:fallback test * tests/xmlspec/Makefile.am tests/docbook/Makefile.am: cleanups Daniel
Diffstat (limited to 'tests/REC')
-rw-r--r--tests/REC/Makefile.am1
-rw-r--r--tests/REC/test-15-1.out2
-rw-r--r--tests/REC/test-15-1.xml1
-rw-r--r--tests/REC/test-15-1.xsl11
4 files changed, 15 insertions, 0 deletions
diff --git a/tests/REC/Makefile.am b/tests/REC/Makefile.am
index 09534939..04eeedf8 100644
--- a/tests/REC/Makefile.am
+++ b/tests/REC/Makefile.am
@@ -14,6 +14,7 @@ EXTRA_DIST = \
test-11.2-6.out test-11.2-6.xml test-11.2-6.xsl \
test-12.2-1.out test-12.2-1.xml test-12.2-1.xsl \
test-12.2-2.out test-12.2-2.xml test-12.2-2.xsl \
+ test-15-1.out test-15-1.xml test-15-1.xsl \
test-2.3-1.out test-2.3-1.xml test-2.3-1.xsl \
test-2.3-2.out test-2.3-2.xml test-2.3-2.xsl \
test-2.5-1.out test-2.5-1.xml test-2.5-1.xsl \
diff --git a/tests/REC/test-15-1.out b/tests/REC/test-15-1.out
new file mode 100644
index 00000000..965f7cdd
--- /dev/null
+++ b/tests/REC/test-15-1.out
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<doc>SUCCESS</doc>
diff --git a/tests/REC/test-15-1.xml b/tests/REC/test-15-1.xml
new file mode 100644
index 00000000..69d62f2c
--- /dev/null
+++ b/tests/REC/test-15-1.xml
@@ -0,0 +1 @@
+<doc/>
diff --git a/tests/REC/test-15-1.xsl b/tests/REC/test-15-1.xsl
new file mode 100644
index 00000000..524f1e6f
--- /dev/null
+++ b/tests/REC/test-15-1.xsl
@@ -0,0 +1,11 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:test="http://example.org/"
+ xsl:extension-element-prefixes="test"
+ version='1.0'>
+<xsl:template match="/">
+<test:test>
+<xsl:fallback><doc>SUCCESS</doc></xsl:fallback>
+</test:test>
+</xsl:template>
+</xsl:stylesheet>