[Bug 22936] [XSLT 3.0] Streamability : dynamic calls to context dependent functions

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

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED

--- Comment #3 from Michael Kay <mike@saxonica.com> ---
We looked again at the function-lookup case and it starts to make more sense.

Given $f := function-lookup("fn:lang", 1) followed by $f("en"), this is
supposed to test the language of the node that was the context item at the time
function-lookup was called. If this was a node in a streamed document, we can't
safe a reference to it in the function closure. So we should define that in
this case, in the closure we set the context item to "absent", which leads to a
dynamic error if and when $f("en") is actually called.

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

Received on Wednesday, 25 September 2013 15:38:39 UTC