summaryrefslogtreecommitdiff
path: root/tests/general/bug-148.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/bug-148.xsl')
-rw-r--r--tests/general/bug-148.xsl13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/general/bug-148.xsl b/tests/general/bug-148.xsl
new file mode 100644
index 00000000..7c5feea1
--- /dev/null
+++ b/tests/general/bug-148.xsl
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8'?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:ns1="http://www.example.com/ns1"
+ exclude-result-prefixes="ns1"
+ version="1.0">
+<foo xmlns="http://www.example.com/ns1"/>
+
+<xsl:template match="/">
+ <xsl:element name="foo"/>
+</xsl:template>
+
+</xsl:stylesheet>