Context |
This class represents a unified context implementation, covering XQuery
static and dynamic contexts as well as MXQuery-specific additions Context
nesting/scoping works as follows: 1) A singleton "global" context for all
instances of MXQuery within an JVM 2) A "root" context for each compiled
query/exposed module 3) nested contexts for lexical scopes
The "global" context carries the - built-in functions - default settings for
static context values - the well-known and default namespaces - the
dictionary of all user-defined types
A root context carries the - user-defined functions - the store set - the
collections - the prolog settings of the static context |