RE: What happens with the lexical value space and the closure of dynamic functions?

> 
> This tells us, I believe, that we evaluate system-property using the static
> context held in the closure of $fun, which includes the namespace binding
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform”

Then, I think that my understanding on how it should be done is correct. So the lexical scope of 'xsl:xxx' is carried along with these dynamic invocations.

> 
> I have to admit that I don’t understand exactly what the last sentence “If
> these contexts are absent in F, it is associated with SC and DC.” means. I think
> (hope!) that this is simply covering the case of static function calls, where the
> context is that of the function call.

My understanding, upon re-reading this, is that this applies to places where the closure is created and certain aspects of the context are unavailable. For instance, in XSLT, this happens inside xsl:function, where there is initially no context item, size or position.

Cheers,
Abel

Received on Thursday, 1 October 2015 15:52:22 UTC