summaryrefslogtreecommitdiff
path: root/tests/general/bug-187.xsl
diff options
context:
space:
mode:
authorMyoungJune Park <mj2004.park@samsung.com>2016-06-29 14:28:51 +0900
committerMyoungJune Park <mj2004.park@samsung.com>2016-06-29 14:29:13 +0900
commit8737843a4d457b79d3c6abbc17fbf97b81a8861e (patch)
tree6229a8587d64a3a76c297f63d3eead8ffb51a14d /tests/general/bug-187.xsl
parentc3bb6b2f10204be6970bfbaa50f9e96e184d505f (diff)
parentc582450a479ff157cf79aed26b6b08e867ff3832 (diff)
downloadlibxslt-8737843a4d457b79d3c6abbc17fbf97b81a8861e.tar.gz
libxslt-8737843a4d457b79d3c6abbc17fbf97b81a8861e.tar.bz2
libxslt-8737843a4d457b79d3c6abbc17fbf97b81a8861e.zip
Merge branch 'tizen_base' into tizen
Change-Id: I412621219c0ed82145d1a03b5bbe474646fcf0ef Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
Diffstat (limited to 'tests/general/bug-187.xsl')
-rw-r--r--tests/general/bug-187.xsl42
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>
+