<?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>2116</bug_id>
          
          <creation_ts>2005-09-09 15:17:57 +0000</creation_ts>
          <short_desc>R-127: Distinction between 00:00:00 and 24:00:00 for time datatype?</short_desc>
          <delta_ts>2007-03-29 18:48:52 +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.0 only</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>needsDrafting</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <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>6040</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-09 15:17:57 +0000</bug_when>
    <thetext>According to section 3.2.8 of &quot;XML Schema: Datatypes&quot; [1]:

&quot;The order relation on time values is the Order relation on dateTime (3.2.7.3) 
using an arbitrary date.&quot;

Thus, if one considers the ordering of the values 00:00:00 and 24:00:00, using 
the arbitrary date 2002-03-06, the ordering is the same as that for 2002-03-
06T00:00:00 and 2002-03-06T24:00:00. The latter value is the same as 2002-03-
07T00:00:00. So, according to the definition of the order relation cited above, 
00:00:00 &lt; 24:00:00.

However, according to the definition of the canonical representation of time in 
section 3.2.8.2 [2]

&quot;the canonical representation for midnight is 00:00:00&quot;

The definition of the canonical representation would seem to imply that 
00:00:00 and 24:00:00 are considered to be the same time value.

It appears that one of these 2 sections is incorrect. 

[1] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#time 

[2] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#time-canonical-repr 

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0870.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6041</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-09 15:18:22 +0000</bug_when>
    <thetext>Resolved at the 2003-07-31 telecon to classify R-127 as a clarification with 
erratum, and to suggest to the editors that they add a couple of examples.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>