<?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>7530</bug_id>
          
          <creation_ts>2009-09-07 15:18:31 +0000</creation_ts>
          <short_desc>op-date-less-than-2 expects true instead of false</short_desc>
          <delta_ts>2009-09-16 22:29:29 +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>1.0.2</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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="David Carver">d_a_carver</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</assigned_to>
          <cc>mike</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>26913</commentid>
    <comment_count>0</comment_count>
    <who name="David Carver">d_a_carver</who>
    <bug_when>2009-09-07 15:18:31 +0000</bug_when>
    <thetext>According to the op-date-less-than-2 test for date less than comparison this is working off of example 2.

http://www.w3.org/TR/xpath-functions/#func-date-less-than

Which expects says should return false, which is the correct value.  However the test in the test suite is expecting true.  Which is incorrect, as when these dates are normalized for comparison they provide the same value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27247</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-09-16 22:29:29 +0000</bug_when>
    <thetext>The example in the spec is testing less-than. The test case, despite everything you might guess from the test name or from its comments and description, is testing &quot;le&quot;. The two dates are equal, so a &quot;lt&quot; test returns false, while a &quot;le&quot; test returns true.

I shall mark the bug &quot;invalid&quot; on this basis, if you disagree, please feel free to reopen it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>