This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The function signature for function-lookup is given as: fn:function-lookup($name as xs:QName, $arity as xs:integer) as function()? but shouldn't it be fn:function-lookup($name as xs:QName, $arity as xs:integer) as function(*)? ?
Thanks, fixed as suggested.