<?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>2357</bug_id>
          
          <creation_ts>2005-10-18 15:43:47 +0000</creation_ts>
          <short_desc>XQueryX: op-gYearMonth-equal-2 results are wrong</short_desc>
          <delta_ts>2007-12-19 23:18:47 +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="Michael Kay">mike</reporter>
          <assigned_to name="Ravindranath (Ravi) Chennoju">ravindranath.chennoju</assigned_to>
          <cc>amassari</cc>
    
    <cc>andrew.eisenberg</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6740</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-10-18 15:43:47 +0000</bug_when>
    <thetext>Test op-gYearMonth-equal-2 is taken from the f+O spec section 10.4.17.1.

The spec correctly gives the result as &quot;false&quot; but the test suite gives the
expected results as &quot;true&quot;.

Michael Kay</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6741</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-10-18 16:13:46 +0000</bug_when>
    <thetext>The same problem affects:

op-gMonth-equal-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6742</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-10-18 16:16:31 +0000</bug_when>
    <thetext>This also affects

op-gDay-equal-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6781</commentid>
    <comment_count>3</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2005-10-19 17:19:59 +0000</bug_when>
    <thetext>Actual test case is op-gYearMonth-equalNew-1.

The spec gives the result of false because the implicit timezone is -05:00. I
believe that we are returning true because we assume timezone of Z.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6951</commentid>
    <comment_count>4</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2005-10-28 14:32:22 +0000</bug_when>
    <thetext>Fixed tests.  USed an explicit timezone of &quot;-05:00&quot; as in the example
in the F&amp; O specs.  Submitted new tests and results.  Please close
the bug if you agree with resolution.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7773</commentid>
    <comment_count>5</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-01-11 15:17:50 +0000</bug_when>
    <thetext>op-gYearMonth-equal-2 and op-gMonth-equal-2
still seem to use the implicit time zone in version 0.8.4 of
the test suite.
- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7774</commentid>
    <comment_count>6</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-01-11 16:10:04 +0000</bug_when>
    <thetext>Jerome:

All tests should use an explicit timezone now.  Please close bug when able to 
verify.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8406</commentid>
    <comment_count>7</comment_count>
    <who name="Alberto Massari">amassari</who>
    <bug_when>2006-02-23 10:30:23 +0000</bug_when>
    <thetext>In the 0.8.6 version of the suite op-gYearMonth-equalNew-2 doesn&apos;t rely any more
on the current timezone, but it still expects a &quot;true&quot; result, while the F&amp;O
specs mandate a &quot;false&quot; one</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8564</commentid>
    <comment_count>8</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-03-06 16:36:40 +0000</bug_when>
    <thetext>Alberto et all:

Sorry I overlook that small detail.  Resubmitted test results.  Please close the bug if in agreement and able to verify.

Thanks,
Carmelo

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12212</commentid>
    <comment_count>9</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-09-30 01:51:16 +0000</bug_when>
    <thetext>op-gYear-equal-2
should also return true
I think this one has been overlooked.
- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12274</commentid>
    <comment_count>10</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-10-04 13:27:45 +0000</bug_when>
    <thetext>Jerome:

Thanks for the comment.  I updated the results to reflect a &quot;true&quot; value.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13806</commentid>
    <comment_count>11</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-01-26 00:24:12 +0000</bug_when>
    <thetext>It seems the XQueryX version of the test op-gYear-equal-2 is now out of line with the XQuery version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18140</commentid>
    <comment_count>12</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2007-12-19 23:07:06 +0000</bug_when>
    <thetext>I believe that the XQuery and XQueryX versions of this test case are now in sync. This was probably fixed quite a while ago, and certainly was fixed when we added the XQueryX queries to our CVS repository.

http://dev.w3.org/2006/xquery-test-suite/TestSuiteStagingArea/Queries/XQuery/Expressions/Operators/CompExpr/ValComp/DurationDateTimeOp/gYearEQ/op-gYear-equal-2.xq
http://dev.w3.org/2006/xquery-test-suite/TestSuiteStagingArea/Queries/XQueryX/Expressions/Operators/CompExpr/ValComp/DurationDateTimeOp/gYearEQ/op-gYear-equal-2.xqx

Please close this bug if you agree with this resolution.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18141</commentid>
    <comment_count>13</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-12-19 23:18:47 +0000</bug_when>
    <thetext>I&apos;ll take it on trust. Closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>