<?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>1408</bug_id>
          
          <creation_ts>2005-05-13 20:09:44 +0000</creation_ts>
          <short_desc>Derived types from xs:duration</short_desc>
          <delta_ts>2005-09-29 11:03:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Functions and Operators 1.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2005Apr/0054.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ashok Malhotra">ashok.malhotra</reporter>
          <assigned_to name="Ashok Malhotra">ashok.malhotra</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3335</commentid>
    <comment_count>0</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-05-13 20:09:44 +0000</bug_when>
    <thetext>In 10.3.1:

&gt;[Definition] xdt:yearMonthDuration is derived 
&gt;from xs:duration by restricting its lexical 
&gt;representation to contain only the year and 
&gt;month components. The value space of 
&gt;xdt:yearMonthDuration is the set of xs:integer 
&gt;month values.

The two sentences are contradictory.  If xdt:yearMonthDuration is derived
from xs:duration then its value space is necessarily a set of pairs,
since that is what the value space of xs:duration is.

The correct description of the value space is the set of pairs where the
first coordinate is the set of integer month values and the second coordinate
is zero.

In addition, while the month property values of xs:duration are integers,
they are not specified to be of type xs:integer.

Schema has (??) adopted a simpler pattern for the derivation, which produces
the same derived datatype.

Dave Peterson for the XML Schema WG</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3339</commentid>
    <comment_count>1</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-05-13 20:17:46 +0000</bug_when>
    <thetext>Similar comment applies to xdt:dayTimeDuration

Dave Peterson for the XML Schema WG </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3103</commentid>
    <comment_count>2</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-05-19 14:25:17 +0000</bug_when>
    <thetext>This was discussed by the joint QT WGs on 5/18/2005.  They agreed that the model
is different from the Schema model but as this did not affect the results of
component extraction and the values returned by functions, no change was needed.

Ashok Malhotra</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>