summaryrefslogtreecommitdiff
path: root/tests/general
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2003-11-21 17:00:22 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2003-11-21 17:00:22 +0000
commit7cb4870e64dc0be93341f907937a41866ee3c917 (patch)
tree30c9b11a8858b7135dbc2899d757d100315a3776 /tests/general
parent96223c5d6a845cd53fc5a9062e2a08708829f83a (diff)
downloadlibxslt-7cb4870e64dc0be93341f907937a41866ee3c917.tar.gz
libxslt-7cb4870e64dc0be93341f907937a41866ee3c917.tar.bz2
libxslt-7cb4870e64dc0be93341f907937a41866ee3c917.zip
fixed bug #127561 (xsl:element with a 'computed' namespace attribute)
* libxslt/transform.c: fixed bug #127561 (xsl:element with a 'computed' namespace attribute) * tests/docs/Makefile.am tests/docs/bug-136.xml tests/general/Makefile.am tests/docs/bug-136*: added tests to the regression for bug #127561
Diffstat (limited to 'tests/general')
-rw-r--r--tests/general/Makefile.am1
-rw-r--r--tests/general/bug-136.out4
-rw-r--r--tests/general/bug-136.xsl8
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/general/Makefile.am b/tests/general/Makefile.am
index 09ac8056..6693c2fd 100644
--- a/tests/general/Makefile.am
+++ b/tests/general/Makefile.am
@@ -141,6 +141,7 @@ EXTRA_DIST = \
bug-133.out bug-133.xsl \
bug-134.out bug-134.xsl \
bug-135.out bug-135.xsl \
+ bug-136.out bug-136.xsl \
character.out character.xsl \
character2.out character2.xsl \
itemschoose.out itemschoose.xsl \
diff --git a/tests/general/bug-136.out b/tests/general/bug-136.out
new file mode 100644
index 00000000..8016df35
--- /dev/null
+++ b/tests/general/bug-136.out
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+
+ <ns1:foobar xmlns:ns1="http://some/namespace/uri"/>
+
diff --git a/tests/general/bug-136.xsl b/tests/general/bug-136.xsl
new file mode 100644
index 00000000..e06b353b
--- /dev/null
+++ b/tests/general/bug-136.xsl
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
+<xsl:template match="item">
+ <xsl:element name="foobar" namespace="{@n}" />
+</xsl:template>
+</xsl:stylesheet>
+