[Bug 4378] error in K2-NodeTest-21

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

--- Comment #16 from Michael Kay <mike@saxonica.com> ---
I would definitely not want to change the rule that function bodies are
executed with an absent focus. (One reason is that many users, especially those
used to XSLT named templates, would expect the focus to be that of the caller,
rather than the initial focus).

I think that when expressions depend on the focus and there is no focus, that
should be a type error rather than a dynamic error, and this change would be
sufficient to allow processors (at their discretion) to raise the error
statically. We should simply recategorize XPDY0002 as a type error.

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

Received on Friday, 2 October 2015 16:25:41 UTC