Project

Profile

Help

Bug #1190

closed

format-number(0.0, '#')

Added by Anonymous over 14 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Legacy ID:
sf-2906651
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

SourceForge user: mhkay

The result of format-number(0.0, '#') should be "0" but Saxon returns a zero-length string. The problem applies when the argument is the decimal, double or float value zero, but not to the integer zero. The bug is present in all known releases up to and including 9.2.0.3. A patch is being applied in Subversion on the 9.1 and 9.2 branches (module net.sf.saxon.functions.FormatNumber). A test case is being added to the W3C XSLT test suite (numberformat85).

Actions #1

Updated by Anonymous over 14 years ago

SourceForge user: mhkay

Fixed in 9.2.0.5

Please register to edit this issue

Also available in: Atom PDF