summaryrefslogtreecommitdiffstats
path: root/libxslt/tests/general/bug-64.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'libxslt/tests/general/bug-64.xsl')
-rw-r--r--libxslt/tests/general/bug-64.xsl8
1 files changed, 8 insertions, 0 deletions
diff --git a/libxslt/tests/general/bug-64.xsl b/libxslt/tests/general/bug-64.xsl
new file mode 100644
index 0000000..793702b
--- /dev/null
+++ b/libxslt/tests/general/bug-64.xsl
@@ -0,0 +1,8 @@
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:template match="@*|node()" priority="1">
+ <xsl:text>It is broken!</xsl:text>
+ </xsl:template>
+ <xsl:template match="/" priority="2">
+ <xsl:text>It works!</xsl:text>
+ </xsl:template>
+</xsl:stylesheet>