[Bug 22732] [F+O 3.0] Function-lookup and the dynamic context

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

--- Comment #2 from Michael Kay <mike@saxonica.com> ---
Another approach would be to say that this rule does not apply to user-defined
functions. In the case where the result of function-lookup() is a user-defined
function:

(a) dependencies on the static context should be resolved by reference to the
static context of the module in which the function declaration appears

(b) dependencies on the dynamic context (for example, the values of variables)
should be resolved in the same way as if the function were called directly from
another function in the same module.

This seems much simpler.

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

Received on Friday, 19 July 2013 08:00:01 UTC