summaryrefslogtreecommitdiff
path: root/tests/general/bug-174.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/bug-174.xsl')
-rw-r--r--tests/general/bug-174.xsl18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/general/bug-174.xsl b/tests/general/bug-174.xsl
new file mode 100644
index 00000000..51991ef5
--- /dev/null
+++ b/tests/general/bug-174.xsl
@@ -0,0 +1,18 @@
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:func = "http://exslt.org/functions"
+ version="1.0" extension-element-prefixes="func">
+
+<func:function name="func:uaf">
+ <func:result/>
+ <func:result/>
+</func:function>
+
+<xsl:template match="/">
+ <result>
+ <xsl:value-of select="func:uaf()"/>
+ </result>
+</xsl:template>
+
+</xsl:stylesheet>
+