W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2013

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 25 Sep 2013 15:38:37 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-22936-523-iPTxbGw51I@http.www.w3.org/Bugs/Public/>

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

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