summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-03-07 14:22:05 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-03-07 14:22:05 +0000
commite1ff13c822f8ca49370973af3d1eb30622c2b818 (patch)
tree7460185062c98c1898de1780fa800d3cb58586f1 /tests
parent8af1c0b719aff5b0abcaa281f36c7b0603594e37 (diff)
downloadlibxslt-e1ff13c822f8ca49370973af3d1eb30622c2b818.tar.gz
libxslt-e1ff13c822f8ca49370973af3d1eb30622c2b818.tar.bz2
libxslt-e1ff13c822f8ca49370973af3d1eb30622c2b818.zip
added a specific example for bug #72150 in the regression tests Daniel
* tests/docs/Makefile.am tests/docs/bug-75.xml tests/general/Makefile.am tests/general/bug-75.*: added a specific example for bug #72150 in the regression tests Daniel
Diffstat (limited to 'tests')
-rw-r--r--tests/docs/Makefile.am1
-rw-r--r--tests/docs/bug-75.xml1
-rw-r--r--tests/general/Makefile.am1
-rw-r--r--tests/general/bug-75.out6
-rw-r--r--tests/general/bug-75.xsl9
5 files changed, 18 insertions, 0 deletions
diff --git a/tests/docs/Makefile.am b/tests/docs/Makefile.am
index 7a760588..e6417a75 100644
--- a/tests/docs/Makefile.am
+++ b/tests/docs/Makefile.am
@@ -75,6 +75,7 @@ EXTRA_DIST = \
bug-72.xml \
bug-73.xml \
bug-74.xml \
+ bug-75.xml \
character.xml \
array.xml \
items.xml
diff --git a/tests/docs/bug-75.xml b/tests/docs/bug-75.xml
new file mode 100644
index 00000000..69d62f2c
--- /dev/null
+++ b/tests/docs/bug-75.xml
@@ -0,0 +1 @@
+<doc/>
diff --git a/tests/general/Makefile.am b/tests/general/Makefile.am
index b13e4445..2e3a3d63 100644
--- a/tests/general/Makefile.am
+++ b/tests/general/Makefile.am
@@ -78,6 +78,7 @@ EXTRA_DIST = \
bug-72.out bug-72.xsl \
bug-73.out bug-73.xsl \
bug-74.out bug-74.xsl \
+ bug-75.out bug-75.xsl \
character.out character.xsl \
character2.out character2.xsl \
itemschoose.out itemschoose.xsl \
diff --git a/tests/general/bug-75.out b/tests/general/bug-75.out
new file mode 100644
index 00000000..6026d53a
--- /dev/null
+++ b/tests/general/bug-75.out
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+100,000,000,000|
+2,147,483,647|
+2,147,483,648|
+4,294,967,296|
+
diff --git a/tests/general/bug-75.xsl b/tests/general/bug-75.xsl
new file mode 100644
index 00000000..c1fd881b
--- /dev/null
+++ b/tests/general/bug-75.xsl
@@ -0,0 +1,9 @@
+<xsl:stylesheet version="1.0"
+xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:template match="/">
+<xsl:value-of select="format-number(100000000000,'#,##0.##')"/>|
+<xsl:value-of select="format-number(2147483647,'#,##0.##')"/>|
+<xsl:value-of select="format-number(2147483648,'#,##0.##')"/>|
+<xsl:value-of select="format-number(4294967296,'#,##0.##')"/>|
+</xsl:template>
+</xsl:stylesheet>