W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2015

[Bug 29277] [XP31] Evaluating function calls does not mention evaluation of dynamic or static function calls that have no FunctionBody

From: <bugzilla@jessica.w3.org>
Date: Mon, 16 Nov 2015 17:10:02 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29277-523-JNMFLep17L@http.www.w3.org/Bugs/Public/>

--- Comment #8 from Michael Dyck <jmdyck@ibiblio.org> ---
(In reply to Abel Braaksma from comment #3)
> To stick to XPath:
> let $f := name#0
> return a/b/c/$f()
> 1) Using my understanding of Michael Dyck's reasoning:
> Here c sets the context of $f and it should return the name of "c".

All you can infer from what I said is that the evaluation of the StepExpr $f()
gets its dynamic context from its parent RelativePathExpr. Whether/how that
evaluation *uses* that dynamic context is up to its semantics. (Which I believe
is consistent with what Michael Kay is saying.)

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 16 November 2015 17:10:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:57 UTC