diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-09-14 13:23:51 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-09-14 13:23:51 +0000 |
commit | cc975baab0ba187951fe4101f6b4f742b6554392 (patch) | |
tree | 3bb594b015adad901abd23cd1cb28bca6aeabba3 /tests/general/bug-61.xsl | |
parent | 91d231d6d9ec659bdb25f795b116df089f8dabdd (diff) | |
download | libxslt-cc975baab0ba187951fe4101f6b4f742b6554392.tar.gz libxslt-cc975baab0ba187951fe4101f6b4f742b6554392.tar.bz2 libxslt-cc975baab0ba187951fe4101f6b4f742b6554392.zip |
Fixing bug #60415 added a specific example in the regression tests Daniel
* libxslt/numbers.c: Fixing bug #60415
* tests/docs/Makefile.am tests/docs/bug-61.xml
tests/general/Makefile.am tests/general/bug-61.*: added a
specific example in the regression tests
Daniel
Diffstat (limited to 'tests/general/bug-61.xsl')
-rw-r--r-- | tests/general/bug-61.xsl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/general/bug-61.xsl b/tests/general/bug-61.xsl new file mode 100644 index 00000000..2070df49 --- /dev/null +++ b/tests/general/bug-61.xsl @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" +version="1.0"> +<xsl:template match="/"> +case 1: +<xsl:value-of select="format-number('', '#.#')"/> +case 2: +<xsl:value-of select="number('')"/> +case 3: +<xsl:value-of select="format-number(non/existing/path, '#.#')"/> +case 4: +<xsl:value-of select="number(non/existing/path)"/> +</xsl:template> +</xsl:stylesheet> |