#1062 Spurious XUST0001 when XQuery Update used with tracing

v9.2
closed
Michael Kay
5
2012-10-08
2010-04-13
Michael Kay
No

When XQuery Update is used with tracing enabled (for example, by specifying the -T option on the command line) spurious errors are reported of the form "XUST0001 Updating expression appears in a context where it is not permitted". This is because the tracing expressions inserted by Saxon into the expression tree are classified as non-updating expressions that cannot contain updating expressions.

A patch is being committed to Subversion (module TraceWrapper in the open source code) on the 9.2 branch.

Discussion

  • Michael Kay
    Michael Kay
    2010-04-26

    Fixed in 9.2.1.1

     
  • Michael Kay
    Michael Kay
    2010-09-17

    The original patch works for updating expressions, but not for vacuous expressions. A further patch is being raised that ensures the added trace expressions are treated as vacuous if the underlying expression is vacuous

     
  • Michael Kay
    Michael Kay
    2010-10-08

    Fixed in 9.2.1.1