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 3851 - bug in ·newDateTime· function
Summary: bug in ·newDateTime· function
Status: RESOLVED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Datatypes: XSD Part 2 (show other bugs)
Version: 1.1 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard: thimble, easy
Keywords:
Depends on: 2497
Blocks: 3258
  Show dependency treegraph
 
Reported: 2006-10-19 03:29 UTC by Dave Peterson
Modified: 2007-09-18 02:56 UTC (History)
0 users

See Also:


Attachments

Description Dave Peterson 2006-10-19 03:29:17 UTC
The function currently maps '24:00:00' to a value whose hour coordinate is 24, which is currently illegal.  If 24:00:00 (the time value) intended to always map to a value whose hour coordinate is zero, then the fix is to normalize (via ·normalizeSecond·, or at least ·normalizeMinute·--there is no "·normalizeHour·") before emitting the value.  See bug 2497
Comment 1 Dave Peterson 2007-03-31 04:33:54 UTC
On 30 Mar the WG decided to insert "normalizeSecond" with appropriate arguments as the first line of the Algorithm of newDateTime.  It also quietly fixed a typo by changing 'Year' to 'Yr'.
Comment 2 C. M. Sperberg-McQueen 2007-09-18 02:56:20 UTC
The change proposed above was approved by the WG on 30 March 2007
at its face to face meeting in Cambridge.  It is now reflected in 
the status quo version of the Datatypes spec.  Accordingly, I am 
setting the disposition of this issue to RESOLVED / FIXED.

If the originator of the issue would examine the change and let 
us know whether it satisfactorily resolves the problem or not, 
we'd be grateful.   To signal that the resolution is acceptable, 
change the status of the issue to CLOSED.  Otherwise, to signal 
that it's NOT acceptable, change the status to REOPENED (and 
tell us what's wrong).

If we don't hear from you in the next three weeks, we'll assume 
that silence betokens consent, and close the issue ourselves.