W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2017

[Bug 30081] New: functx-fn-number-all

From: <bugzilla@jessica.w3.org>
Date: Mon, 27 Mar 2017 18:14:06 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-30081-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 30081
           Summary: functx-fn-number-all
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: josh.spiegel@oracle.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Mike recently modified this test to include a document constructor.  However,
this is an XPath test and there is no document constructor in XPath 3.0. 

<test-case name="functx-fn-number-all"
      <created by="Frans Englich" on="2008-05-16"/>
      <modified by="Michael Kay" on="2017-03-17" change="make construction of
document node explicit"/>
      <environment ref="functx_prices"/>
      <dependency type="spec" value="XP30+ XQ10+"/>
         let $priceDoc := (/) 
         return document{(number( $priceDoc//prod[1]/price), number(
                          number('29.99'), number('ABC'), number( () ), 
                          $priceDoc// prod/price[number() > 35])}]]></test>
         <assert-xml><![CDATA[29.99 NaN 29.99 NaN NaN<price
currency="USD">69.99</price><price currency="USD">39.99</price>]]></assert-xml>

Why was the document constructor necessary?

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 27 March 2017 18:14:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 27 March 2017 18:14:14 UTC