[Bug 3851] bug in ?newDateTime? function

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3851

           Summary: bug in ·newDateTime· function
           Product: XML Schema
           Version: 1.1 only
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Datatypes: XSD Part 2
        AssignedTo: cmsmcq@w3.org
        ReportedBy: davep@iit.edu
         QAContact: www-xml-schema-comments@w3.org
 BugsThisDependsOn: 2497


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

Received on Thursday, 19 October 2006 03:29:28 UTC