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 3018 - [XSLT 2.0] In format-time(), rounding of fractional seconds not specified
Summary: [XSLT 2.0] In format-time(), rounding of fractional seconds not specified
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-20 11:41 UTC by Michael Kay
Modified: 2006-03-24 23:46 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2006-03-20 11:41:39 UTC
For format-time(), we don't say how the number of microseconds is rounded based on the width specifier.

Recommendation: in 16.5.1, in the paragraph starting "If the full representation of the value exceeds the specified maximum width,...", add the sentence: 

"In the case of the fractional seconds component, the value is rounded to the specified size as if by applying the function [round-half-to-even(fractional-seconds, max-width)]."
Comment 1 Michael Kay 2006-03-24 23:45:45 UTC
The XSL WG accepted this proposal.