<?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>2135</bug_id>
          
          <creation_ts>2005-09-12 15:10:37 +0000</creation_ts>
          <short_desc>R-144: Adding durations to dateTime</short_desc>
          <delta_ts>2007-03-29 18:48:57 +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>6079</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-12 15:10:37 +0000</bug_when>
    <thetext>Section E.1 contains the sentence:

&quot;If a field in S is not specified, it is treated in the calculation as if it 
were the minimum allowed value in that field, however, after the calculation is 
concluded, the corresponding field in E is removed (set to unspecified).&quot; 
I think this sentence is in error and should be deleted. 

The ordering relation for eg gYear specifies: &quot;the order relation on gYear 
values is the order relation on their starting instants&quot;. In this case as in 
others, we only need to compare fully-specified dateTime instants. 

The value space of gYear must be considered as containing both the year number 
and the time zone (if any). To compare two values in the gYear value space, you 
convert them to values in the dateTime value space (by using their starting 
instants). Then you compare those two dateTime values using the algorithm in 
3.2.7.3. 

That sentence in section E.1 only makes sense if you take the view that the 
value space of the partially specified dateTimes (like gYear, gMonth) does 
*not* include time zones; in this case, you would need to normalize out the 
time-zone before converting to a time-instant for comparison, and so would be 
applying addition to a partially-specified date time. But this leads to 
nonsense results, as Kawaguchi-san pointed out:

http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JanMar/0065.html

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0046.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6080</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-12 15:10:44 +0000</bug_when>
    <thetext>Resolved at the July 2003 f2f to classify as an error w/erratum.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>