#1070 XQConnection.getStaticContext() doesn't make a copy

v9.2
closed
Michael Kay
5
2012-10-08
2010-05-21
Michael Kay
No

The methods XQConnection.getStaticContext() and XQConnection.setStaticContext() are supposed to make a copy of the properties of the static context; instead the Saxon implementation merely stores or returns a reference to the XQStaticContext object supplied, which means that subsequent changes to that object are more pervasive than they should be. A patch is being committed for the 9.2 branch.

Discussion

  • Michael Kay
    Michael Kay
    2010-08-09

    Fixed in 9.2.1.2