<?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>29812</bug_id>
          
          <creation_ts>2016-09-08 10:04:22 +0000</creation_ts>
          <short_desc>[FO31] numeric-greater-than-101</short_desc>
          <delta_ts>2016-09-14 13:28:38 +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>XQuery 3 &amp; XPath 3 Test Suite</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</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="Tim Mills">tim</reporter>
          <assigned_to name="O&apos;Neil Delpratt">oneil</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>127337</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2016-09-08 10:04:22 +0000</bug_when>
    <thetext>The expected results for these tests seem bizarre.

   &lt;test-case name=&quot;numeric-greater-than-101&quot;&gt;
      &lt;description&gt; test comparison of number to untypedAtomic including whitespace &lt;/description&gt;
      &lt;created by=&quot;Michael Kay&quot; on=&quot;2016-08-17&quot;/&gt;
      &lt;dependency type=&quot;spec&quot; value=&quot;XQ10+&quot;/&gt;      
      &lt;test&gt;&lt;![CDATA[
   let $ex :=
   &lt;bla&gt;&lt;n&gt;10&lt;/n&gt;
      &lt;n&gt;123&lt;/n&gt;
      &lt;n&gt; 1234 &lt;/n&gt;
      &lt;n&gt;
         1234
      &lt;/n&gt;
      &lt;n&gt;12345&lt;/n&gt;
   &lt;/bla&gt;
   return
   $ex[n&gt;1000]
         ]]&gt;&lt;/test&gt;
      &lt;result&gt;
         &lt;assert-deep-eq&gt;(2345.6, 5678, 12345, 56789)&lt;/assert-deep-eq&gt;
      &lt;/result&gt;
   &lt;/test-case&gt;
   
   &lt;test-case name=&quot;numeric-greater-than-102&quot;&gt;
      &lt;description&gt; test comparison of number to untypedAtomic including whitespace &lt;/description&gt;
      &lt;created by=&quot;Michael Kay&quot; on=&quot;2016-08-17&quot;/&gt;
      &lt;dependency type=&quot;spec&quot; value=&quot;XQ10+&quot;/&gt;      
      &lt;test&gt;&lt;![CDATA[
   let $ex :=
   &lt;bla&gt;&lt;n&gt;10&lt;/n&gt;
      &lt;n&gt;123&lt;/n&gt;
      &lt;n&gt; 1234 &lt;/n&gt;
      &lt;n&gt; 2345.6 &lt;/n&gt;
      &lt;n&gt;
         1555
      &lt;/n&gt;
      &lt;n&gt; 12345 &lt;/n&gt;
   &lt;/bla&gt;
   return
   $ex//n[.&gt;1000] ! xs:decimal(.)
         ]]&gt;&lt;/test&gt;
      &lt;result&gt;
         &lt;assert-deep-eq&gt;(1234, 2345.6, 1555, 12345)&lt;/assert-deep-eq&gt;
      &lt;/result&gt;
   &lt;/test-case&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127372</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2016-09-13 11:03:23 +0000</bug_when>
    <thetext>
On second look, this is just for numeric-greater-than-101.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127376</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-09-13 13:10:44 +0000</bug_when>
    <thetext>Now fixed. 

Sorry - not sure what went wrong here. I haven&apos;t been able to trace the original test before it got overwritten so I have re-invented it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127393</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2016-09-14 13:28:38 +0000</bug_when>
    <thetext>Confirmed fixed.  Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>