<?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>3274</bug_id>
          
          <creation_ts>2006-05-11 17:46:25 +0000</creation_ts>
          <short_desc>op-time-greater-than-2 test &apos;gt&apos; not &apos;ge&apos;</short_desc>
          <delta_ts>2006-05-17 17:55:43 +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>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</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="Jinghao Liu">jinghaol</reporter>
          <assigned_to name="Carmelo Montanez">carmelo</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9755</commentid>
    <comment_count>0</comment_count>
    <who name="Jinghao Liu">jinghaol</who>
    <bug_when>2006-05-11 17:46:25 +0000</bug_when>
    <thetext>In test op-time-greater-than-2:

(:*******************************************************:)
(:Test:  op-time-greater-than-2                          :)
(:Written By: Carmelo Montanez                           :)
(:Date: June 13, 2005                                    :)
(:Purpose: Evaluates The &quot;time-greater-than&quot; function    :)
(:As per example 1 (for this function)of the F&amp;O specs   :)
(:(ge operator).                                         :)
(:*******************************************************:)

(xs:time(&quot;08:00:00+09:00&quot;) ge xs:time(&quot;17:00:00-06:00&quot;))

The operator should be &apos;gt&apos;, not &apos;ge&apos;.  Otherwise it wouldn&apos;t match the expected result &apos;false&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9799</commentid>
    <comment_count>1</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-05-15 21:10:05 +0000</bug_when>
    <thetext>Jinghao:

Why do you think that using the &quot;ge&quot; will still not return a false value
for this test?

Thanks
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9800</commentid>
    <comment_count>2</comment_count>
    <who name="Jinghao Liu">jinghaol</who>
    <bug_when>2006-05-15 23:17:01 +0000</bug_when>
    <thetext>Because both times represent the same time 23:00:00Z according to http://www.w3.org/TR/xmlschema-2/#time-lexical-repr.

So (xs:time(&quot;08:00:00+09:00&quot;) ge xs:time(&quot;17:00:00-06:00&quot;) should yield result as true, not false.  </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9806</commentid>
    <comment_count>3</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-05-16 18:55:08 +0000</bug_when>
    <thetext>Jinghao:

You are correct.  The &quot;ge&quot; should result ina &quot;true&quot; value.
I will change the test results as soon as the internal CVS
issues are solved.  Will leave the issue as &quot;assigned&quot; for now.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9826</commentid>
    <comment_count>4</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-05-17 17:55:43 +0000</bug_when>
    <thetext>Jinghao:

I changed the expected outcome for this test to &quot;true&quot;.  Please close bug if in
agreement.

Thanks,
Carmelo</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>