<?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>9136</bug_id>
          
          <creation_ts>2010-02-24 10:08:38 +0000</creation_ts>
          <short_desc>Wrong parameter given to op:divide-dayTimeDuration function.</short_desc>
          <delta_ts>2012-03-27 23:15:55 +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>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>6355</dup_id>
          
          <bug_file_loc>http://www.w3.org/TR/xquery-operators/#func-divide-dayTimeDuration</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Donoiu Cristian">doncristiano</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>doncristiano</cc>
          
          <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>32608</commentid>
    <comment_count>0</comment_count>
    <who name="Donoiu Cristian">doncristiano</who>
    <bug_when>2010-02-24 10:08:38 +0000</bug_when>
    <thetext>http://www.w3.org/TR/xquery-operators/#func-divide-dayTimeDuration

In the examples section: 
divide-dayTimeDuration(xs:yearMonthDuration(&quot;P1DT2H30M10.5S&quot;), 1.5)
should be replaced with divide-dayTimeDuration(xs:dayTimeDuration(&quot;P1DT2H30M10.5S&quot;), 1.5)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32609</commentid>
    <comment_count>1</comment_count>
    <who name="Donoiu Cristian">doncristiano</who>
    <bug_when>2010-02-24 10:31:25 +0000</bug_when>
    <thetext>And another one just bellow:

http://www.w3.org/TR/xquery-operators/#func-divide-dayTimeDuration-by-dayTimeDuration

In the examples section:
xs:dayTimeDuration(&quot;P2DT53M11S&quot;), xs:dayTimeDuration(&quot;P1DT10H)

see missing quote at the end.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32610</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-02-24 10:39:43 +0000</bug_when>
    <thetext>This has been fixed in erratum E39, raised in response to bug #6355.

http://www.w3.org/XML/2007/qt-errata/xpath-functions-errata.html#E39

Thanks for your diligence in reporting it.

*** This bug has been marked as a duplicate of bug 6355 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32612</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-02-24 10:42:18 +0000</bug_when>
    <thetext>The second bug reported in comment #1 was fixed in Erratum E35 raised in response to bug #6342

http://www.w3.org/XML/2007/qt-errata/xpath-functions-errata.html#E35</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66153</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-03-27 23:15:55 +0000</bug_when>
    <thetext>I am marking this closed because I believe the problems no longer appear in the published Second Edition.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>