Project

Profile

Help

Bug #2721

closed

Grouping separators in format-number()

Added by Debbie Lockett about 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
XPath conformance
Sprint/Milestone:
Start date:
2016-04-21
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7, trunk
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:
Platforms:

Description

Following the resolution of W3C bug #29534, clarifications have been made to the F&O 3.1 specification of format-number() regarding regular grouping.

This affects Saxon, e.g. the expected result of format-number(xs:decimal('123456789'), '###,##,00') is 12345,67,89; but Saxon 9.7 returns 1,23,45,67,89. (See test cbcl-fn-format-number-015, and also cbcl-fn-format-number-027).

[Note that these particular tests pass under Saxon 9.6; while a number of other recently added tests (i.e. since 2015-09) which use grouping separators fail under Saxon 9.6. The implementation was updated in 9.7 following other F&O 3.1 specification clarifications related to the use of grouping separators (e.g see W3C bug #28567).]

Please register to edit this issue

Also available in: Atom PDF