Project

Profile

Help

Bug #2720

closed

Grouping separators in format-integer()

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 #29488, clarifications have been made to the F&O 3.1 specification of format-integer() regarding the use of grouping separators. Two main issues arise, illustrated by the following:

  1. The expected result for test format-integer-030 has changed:

format-integer(602347826, '#(000)000-000') now expects '602)347-826' rather than '(602)347-826' (which is currently returned by Saxon).

  1. The expected result of format-integer(123456789, '000,00,00') is '12345,67,89'; but Saxon returns '1,23,45,67,89'. (See test format-integer-072)

Please register to edit this issue

Also available in: Atom PDF