[XQuery] BEA_018

XQuery: editorial, major

First paragraph in section 2 notes that the language does not allow
variable substitution if the definition expression creates new nodes.
This is only a particular case where variable substitution (and 
function inlining
in the same time) does not hold, but there are other causes: validation
context and element constructors with namespace declarations.

This particular "feature" of XQuery that the semantics of an expression
depends on the *syntactical* context it is placed in makes XQuery very
different from most other programming languages.

We should devote some space to explain this "feature" in more details
potentially using some examples.

Received on Monday, 16 February 2004 00:43:53 UTC