summaryrefslogtreecommitdiff
path: root/tests/general/bug-205.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/bug-205.xsl')
-rw-r--r--tests/general/bug-205.xsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/general/bug-205.xsl b/tests/general/bug-205.xsl
new file mode 100644
index 00000000..fa31965a
--- /dev/null
+++ b/tests/general/bug-205.xsl
@@ -0,0 +1,10 @@
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:decimal-format xmlns:testns="urn:test:1" name="testns:format" decimal-separator=","/>
+<xsl:decimal-format xmlns:testns="urn:test:2" name="testns:format" decimal-separator="."/>
+
+<xsl:template match="/" xmlns:newns="urn:test:1">
+ <xsl:value-of select="format-number(123, '0,00', 'newns:format')"/>
+</xsl:template>
+
+</xsl:stylesheet>