[Bug 29333] Higher-order functions and updates.

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

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
XQuery Update 3.0 states:

A FunctionTest without an updating function assertion only matches simple
functions as it does in unextended XQuery 3.0.

The signature of higher-order functions defined in F+O does not include an
updating function assertion, and therefore updating functions cannot be
supplied as arguments to functions such as apply() and for-each-pair().

Since the spec states that an updating function "is not matched", I think this
implies that XPTY0004 is raised.

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

Received on Tuesday, 5 January 2016 15:55:06 UTC