<?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>2959</bug_id>
          
          <creation_ts>2006-03-02 10:44:50 +0000</creation_ts>
          <short_desc>op-subtract-dateTimes-yielding-DTD-10</short_desc>
          <delta_ts>2006-05-17 22:14:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Query Test Suite</product>
          <component>XML Query Test Suite</component>
          <version>0.8.6</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></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="Marc Van Cappellen">marc.van.cappellen</reporter>
          <assigned_to name="Carmelo Montanez">carmelo</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>8508</commentid>
    <comment_count>0</comment_count>
    <who name="Marc Van Cappellen">marc.van.cappellen</who>
    <bug_when>2006-03-02 10:44:50 +0000</bug_when>
    <thetext>Test op-subtract-dateTimes-yielding-DTD-10.xq is as follows:

fn:string((xs:dateTime(&quot;1985-07-05T07:07:07Z&quot;) - xs:dateTime(&quot;1984-07-
05T08:08:08Z&quot;))) or (xs:dateTime(&quot;1985-07-05T09:09:09Z&quot;) - xs:dateTime(&quot;1984-07-
05T10:10:10Z&quot;))

Is this intentional? As far as I can see EBV is not defined on 
xdt:dayTimeDuration. Keeping op-subtract-dateTimes-yielding-DTD-9.xq in mind it 
seems as if an fn:string around the second operand of the or expression is 
missing?

Thanks,
Marc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8595</commentid>
    <comment_count>1</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-03-06 20:39:24 +0000</bug_when>
    <thetext>Mark:

You are correct.  There is an fn:string missing.  Sumbitted new version of test.  Please close the bug if in agreement and able to verify.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9843</commentid>
    <comment_count>2</comment_count>
    <who name="Marc Van Cappellen">marc.van.cappellen</who>
    <bug_when>2006-05-17 22:14:44 +0000</bug_when>
    <thetext>verified and looks ok</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>