W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2012

[Bug 15402] New: hof-044

From: <bugzilla@jessica.w3.org>
Date: Tue, 03 Jan 2012 15:30:19 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-15402-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15402

           Summary: hof-044
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: benjie.nguyen@gmail.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


Test hof-044 in set misc-HigherOrderFunctions gives an unintended XPTY0004
error.

In the function

declare function local:ops() as (function(xs:double) as xs:double)* 
          { (abs#1, local:round#1, function($x as xs:float){$x+1},
round-half-to-even(?, 2)) }; 

the third item 

function($x as xs:float){$x+1} 

is not a valid instance of the required type

function(xs:double) as xs:double

because it will not accept xs:double arguments.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 3 January 2012 15:30:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:47 UTC