[Bug 5338] [UPD] Revalidation mode: which static context?

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5338


mike@saxonica.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #3 from mike@saxonica.com  2008-01-26 23:19 -------
I'm not convinced that the proposed change is sufficient to make it clear that
(as Don states in comment #1)

(a) when we're dealing with a "top-level" updating query, the static context
that applies is the static context of the top-level module

(b) when we're dealing with updates within a transform expression, the static
context that applies is the static context of the module containing the
transform expression.

Normally functions don't inherit the context of their caller. Don is
suggesting, in effect, that it is "reasonably clear" that upd:revalidate()
inherits the context of upd:applyUpdates(), and that upd:applyUpdates() in turn
inherits the context of either the top-level expression or the transform
expression. 

Well, it may be clear to the author of the spec, but I don't think that
necessarily makes it clear to the reader. 

Received on Saturday, 26 January 2008 23:19:27 UTC