summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2004-12-01 06:52:22 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2004-12-01 06:52:22 +0000
commitcb232b561941a49af0fd44d50e5009ad7c3c26f0 (patch)
treeac052358df7ec043a1776669ec678c005a913299 /tests
parentde7a9a01f330257285017cfe478ab5de152dea88 (diff)
downloadlibxslt-cb232b561941a49af0fd44d50e5009ad7c3c26f0.tar.gz
libxslt-cb232b561941a49af0fd44d50e5009ad7c3c26f0.tar.bz2
libxslt-cb232b561941a49af0fd44d50e5009ad7c3c26f0.zip
applied patch from Mark Vakoc fixing bug with namespace URI on template
* libxslt/xslt.c: applied patch from Mark Vakoc fixing bug with namespace URI on template names. * tests/namespaces/tst9*, tests/namespaces/Makefile.am: added test case for this
Diffstat (limited to 'tests')
-rw-r--r--tests/namespaces/Makefile.am3
-rw-r--r--tests/namespaces/tst9.out8
-rw-r--r--tests/namespaces/tst9.xml11
-rw-r--r--tests/namespaces/tst9.xsl11
4 files changed, 32 insertions, 1 deletions
diff --git a/tests/namespaces/Makefile.am b/tests/namespaces/Makefile.am
index 4c58bd72..edc9b2f3 100644
--- a/tests/namespaces/Makefile.am
+++ b/tests/namespaces/Makefile.am
@@ -13,7 +13,8 @@ EXTRA_DIST = \
tst5.xml tst5.xsl tst5.out \
tst6.xml tst6.xsl tst6.out \
tst7.xml tst7.xsl tst7.out \
- tst8.xml tst8.xsl tst8.out
+ tst8.xml tst8.xsl tst8.out \
+ tst9.xml tst9.xsl tst9.out
all:
diff --git a/tests/namespaces/tst9.out b/tests/namespaces/tst9.out
new file mode 100644
index 00000000..0d7d44b4
--- /dev/null
+++ b/tests/namespaces/tst9.out
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+
+
+
+
+
+
+
diff --git a/tests/namespaces/tst9.xml b/tests/namespaces/tst9.xml
new file mode 100644
index 00000000..69c8a856
--- /dev/null
+++ b/tests/namespaces/tst9.xml
@@ -0,0 +1,11 @@
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:ns="namespace"
+>
+
+<xsl:template name="test"/>
+
+<xsl:template name="ns:test"/>
+
+</xsl:stylesheet>
+
+
diff --git a/tests/namespaces/tst9.xsl b/tests/namespaces/tst9.xsl
new file mode 100644
index 00000000..69c8a856
--- /dev/null
+++ b/tests/namespaces/tst9.xsl
@@ -0,0 +1,11 @@
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:ns="namespace"
+>
+
+<xsl:template name="test"/>
+
+<xsl:template name="ns:test"/>
+
+</xsl:stylesheet>
+
+