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

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

--- 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