Actions
Bug #1190
closedformat-number(0.0, '#')
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).
Please register to edit this issue
Actions