diff options
Diffstat (limited to 'tests/general/bug-187.xsl')
-rw-r--r-- | tests/general/bug-187.xsl | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/general/bug-187.xsl b/tests/general/bug-187.xsl new file mode 100644 index 00000000..7a10a370 --- /dev/null +++ b/tests/general/bug-187.xsl @@ -0,0 +1,42 @@ +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + <xsl:output indent="yes"/> + <xsl:template match="/"> + <result> + <number> + <xsl:number format="1" value="3.51"/> + </number> + <number> + <xsl:number format="1" value="-123.456"/> + </number> + <number> + <!-- 2 ** 53 --> + <xsl:number format="1" value="9007199254740992"/> + </number> + <number> + <xsl:number format="a" value="3.51"/> + </number> + <number> + <xsl:number format="a" value="-123.456"/> + </number> + <number> + <xsl:number format="a" value="0"/> + </number> + <number> + <xsl:number format="a" value="9007199254740992"/> + </number> + <number> + <xsl:number format="I" value="3.51"/> + </number> + <number> + <xsl:number format="I" value="-123.456"/> + </number> + <number> + <xsl:number format="I" value="0"/> + </number> + <number> + <xsl:number format="I" value="9007199254740992"/> + </number> + </result> + </xsl:template> +</xsl:stylesheet> + |