Grouping separators in format-number()
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).]
#1 Updated by Debbie Lockett over 4 years ago
- Status changed from In Progress to Resolved
- Priority changed from Low to Normal
- Applies to branch 9.8 added
- Fix Committed on Branch 9.7, 9.8 added
Patch committed to FormatNumber on 9.7 and 9.8 dev branches. The leftmost group (defined by grouping separators in the picture string) is now also considered when determining whether grouping is regular.
Please register to edit this issue