summaryrefslogtreecommitdiff
path: root/tests/general
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-06-10 19:54:50 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-06-10 19:54:50 +0000
commitcf61bf60f11fb2b108e3bfa7dbb43443c9bb371b (patch)
treee34b900af8dcc6dc87fa29b00d6359784593e8ad /tests/general
parent9ecd5f55df9244a73dbecc862c63968f27289b14 (diff)
downloadlibxslt-cf61bf60f11fb2b108e3bfa7dbb43443c9bb371b.tar.gz
libxslt-cf61bf60f11fb2b108e3bfa7dbb43443c9bb371b.tar.bz2
libxslt-cf61bf60f11fb2b108e3bfa7dbb43443c9bb371b.zip
- libxslt/transform.c: closed bug #55723, problem was due to
a limitation of xsltGetNamespace() when the insertion point is the document. - tests/docs/Makefile.am tests/general/Makefile.am tests/general/bug-35-* tests/docs/bug-35-*: added a specific regression test for #55723 Daniel
Diffstat (limited to 'tests/general')
-rw-r--r--tests/general/Makefile.am1
-rw-r--r--tests/general/bug-35-.out2
-rw-r--r--tests/general/bug-35-.xsl10
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/general/Makefile.am b/tests/general/Makefile.am
index 33340f2d..00d2f4a2 100644
--- a/tests/general/Makefile.am
+++ b/tests/general/Makefile.am
@@ -37,6 +37,7 @@ EXTRA_DIST = \
bug-31-.out bug-31-.xsl \
bug-32-.out bug-32-.xsl \
bug-33-.out bug-33-.xsl \
+ bug-35-.out bug-35-.xsl \
character.out character.xsl \
character2.out character2.xsl \
itemschoose.out itemschoose.xsl \
diff --git a/tests/general/bug-35-.out b/tests/general/bug-35-.out
new file mode 100644
index 00000000..f162c900
--- /dev/null
+++ b/tests/general/bug-35-.out
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<a:a xmlns:a="http://a"/>
diff --git a/tests/general/bug-35-.xsl b/tests/general/bug-35-.xsl
new file mode 100644
index 00000000..6fb51c63
--- /dev/null
+++ b/tests/general/bug-35-.xsl
@@ -0,0 +1,10 @@
+<?xml version='1.0'?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:a="http://a">
+
+<xsl:template match="*">
+ <xsl:element name="{name()}"/>
+</xsl:template>
+
+</xsl:stylesheet>