summaryrefslogtreecommitdiff
path: root/tests/general/bug-137.xsl
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-12-21 11:52:58 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-12-21 11:52:58 +0000
commitde541422eb6b8b196538e367fd9d140b9b9829d5 (patch)
tree49cd250e2dc04d9f74705b06caad1bd36e5370ff /tests/general/bug-137.xsl
parent2d12a9c926e295f11f2a810c821eac0606603c32 (diff)
downloadlibxslt-de541422eb6b8b196538e367fd9d140b9b9829d5.tar.gz
libxslt-de541422eb6b8b196538e367fd9d140b9b9829d5.tar.bz2
libxslt-de541422eb6b8b196538e367fd9d140b9b9829d5.zip
fixed second problem on #122483, namespace definitions must be propagated
* libxslt/keys.c: fixed second problem on #122483, namespace definitions must be propagated to keys. * tests/docs/Makefile.am tests/docs/bug-137.xml tests/general/Makefile.am tests/docs/bug-137*: added test to the regression for bug #122483 Daniel
Diffstat (limited to 'tests/general/bug-137.xsl')
-rw-r--r--tests/general/bug-137.xsl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/general/bug-137.xsl b/tests/general/bug-137.xsl
new file mode 100644
index 00000000..a7603cb5
--- /dev/null
+++ b/tests/general/bug-137.xsl
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:import href="bug-137.imp"/>
+ <xsl:template match="/">
+ <result><xsl:value-of select="key('mykey', 'T')"/></result>
+ </xsl:template>
+</xsl:stylesheet>