This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2953 - Assorted editorial fixes for part 16.4, Number Formatting
Summary: Assorted editorial fixes for part 16.4, Number Formatting
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-01 03:36 UTC by David Marston
Modified: 2006-03-13 11:11 UTC (History)
0 users

See Also:


Attachments

Description David Marston 2006-03-01 03:36:50 UTC
1. The terms "integer part" and "whole part" are both used for the same concept.
Pick one and use it consistently.

2. The algorithm for whole-part-grouping-positions in 16.4.3 has a loophole
regarding multiples of N. It currently says
...if they are all consecutive integer multiples of some value N...
but what is wanted is consecutive integer multiples starting at N*1, else you
have the scenario that 6,9,12 are consecutive integer multiples of 3 (where said
consecutive integers are 2,3,4). I suggest:
...if they are all consecutive integer multiples of some value N, where N is the
smallest value on the list, ...

3. In step 5 of the algorithm in 16.4.4, the reference to round-half-to-even
should have your usual hyperlink and superscript.
Comment 1 Michael Kay 2006-03-02 18:56:21 UTC
1. I've changed it to use "integer" throughout. 

2. "integer multiples": to be honest, I thought we could rely on the
intelligence of the reader here. But I will change it to say "that is, if they
form a sequence N, 2N, 3N,... for some integer value N".

3. Done.