[Bug 29812] New: [FO31] numeric-greater-than-101, 102

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29812

            Bug ID: 29812
           Summary: [FO31] numeric-greater-than-101, 102
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The expected results for these tests seem bizarre.

   <test-case name="numeric-greater-than-101">
      <description> test comparison of number to untypedAtomic including
whitespace </description>
      <created by="Michael Kay" on="2016-08-17"/>
      <dependency type="spec" value="XQ10+"/>      
      <test><![CDATA[
   let $ex :=
   <bla><n>10</n>
      <n>123</n>
      <n> 1234 </n>
      <n>
         1234
      </n>
      <n>12345</n>
   </bla>
   return
   $ex[n>1000]
         ]]></test>
      <result>
         <assert-deep-eq>(2345.6, 5678, 12345, 56789)</assert-deep-eq>
      </result>
   </test-case>

   <test-case name="numeric-greater-than-102">
      <description> test comparison of number to untypedAtomic including
whitespace </description>
      <created by="Michael Kay" on="2016-08-17"/>
      <dependency type="spec" value="XQ10+"/>      
      <test><![CDATA[
   let $ex :=
   <bla><n>10</n>
      <n>123</n>
      <n> 1234 </n>
      <n> 2345.6 </n>
      <n>
         1555
      </n>
      <n> 12345 </n>
   </bla>
   return
   $ex//n[.>1000] ! xs:decimal(.)
         ]]></test>
      <result>
         <assert-deep-eq>(1234, 2345.6, 1555, 12345)</assert-deep-eq>
      </result>
   </test-case>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 8 September 2016 10:04:36 UTC