<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2497</bug_id>
          
          <creation_ts>2005-11-09 17:09:13 +0000</creation_ts>
          <short_desc>R-127: Distinction between 00:00:00 and 24:00:00 for time datatype?</short_desc>
          <delta_ts>2009-04-21 19:21:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Datatypes: XSD Part 2</component>
          <version>1.1 only</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>3851</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7127</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-11-09 17:09:13 +0000</bug_when>
    <thetext>See description from Bug 2116. 1.1 needs to answer the question of 
whether &quot;00:00:00&quot; and &quot;24:00:00&quot; give rise to different values.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7262</commentid>
    <comment_count>1</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-11-22 13:06:38 +0000</bug_when>
    <thetext>After discussion the F&amp;O adopted the following wording &quot;For xs:time, &quot;00:00:00&quot;
and &quot;24:00:00&quot; are alternate lexical forms for the same value. For xs:dateTime,
a time component &quot;24:00:00&quot; translates to &quot;00:00:00&quot; of the following day.&quot;

As pointed out in bug 2116, the problem is in the order relation on these time
values.  If 24:00:00 is, indeed, 00:00:00 of the following day then it is later
than 00:00:00.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12541</commentid>
    <comment_count>2</comment_count>
    <who name="Dave Peterson">davep</who>
    <bug_when>2006-10-19 03:31:43 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; After discussion the F&amp;O adopted the following wording &quot;For xs:time, &quot;00:00:00&quot;
&gt; and &quot;24:00:00&quot; are alternate lexical forms for the same value. For xs:dateTime,
&gt; a time component &quot;24:00:00&quot; translates to &quot;00:00:00&quot; of the following day.&quot;
&gt; 
&gt; As pointed out in bug 2116, the problem is in the order relation on these time
&gt; values.  If 24:00:00 is, indeed, 00:00:00 of the following day then it is later
&gt; than 00:00:00.

My recollection is that the WG discussed this and decided it wasn&apos;t worth making a special case for time.  However, the best I can find is that Ashok and I were given an action by the WG 18 Nov 05 to &quot;investigate, bring back proposed fix(es) or reason why none required [recorded in http://www.w3.org/2005/11/18-xmlschema-minutes.html#action01]&quot;.  Ashok responded with Comment #1 herein, stating the F&amp;O position.

OTOH, In researching this I find that there is an error in the function ·newDateTime· in that it doesn&apos;t normailze the hour, mapping a &apos;24&apos; hourFrag to the hour coordinate value 24, which is illegal.  I am therefore entering a new bug (3851) to insure this is fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14611</commentid>
    <comment_count>3</comment_count>
    <who name="Dave Peterson">davep</who>
    <bug_when>2007-03-31 04:47:33 +0000</bug_when>
    <thetext>On 30 Mar the WG asserted its intent that 00:00:00 and 24:00:00 be identical, and corrected the bug in 3851 to insure that this was the case.

They also chose to add a note to the end of 3.3.9.4 saying &quot;NOTE:  The lexical mapping maps &apos;00:00:00&apos; and &apos;24:00:00&apos; to the same value, namely midnight (hour = 0, minute = 0, second = 0).&quot;    [&apos;hour&apos;, &apos;minute&apos;, and &apos;second&apos; marked up to indicate they are the coordinates of a time value so named.]

[This bug should now carry the keyword &apos;decided&apos;.  Bugzilla will not permit me to make that change at this time.]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16654</commentid>
    <comment_count>4</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-09-18 02:56:19 +0000</bug_when>
    <thetext>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&apos;d be grateful.   To signal that the resolution is acceptable, 
change the status of the issue to CLOSED.  Otherwise, to signal 
that it&apos;s NOT acceptable, change the status to REOPENED (and 
tell us what&apos;s wrong).

If we don&apos;t hear from you in the next three weeks, we&apos;ll assume 
that silence betokens consent, and close the issue ourselves.   </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>