Bug #5094
closedCaching of last() at context level is not working
100%
Description
The code is designed so that the value of last() only ever needs to be computed once for a given dynamic context (this is because it can be expensive to compute, requiring lookahead). It is actually cached at two levels: the FocusTrackingIterator, and the XPathContextMinor. The caching at iterator level is working, but the caching at context level is not. This mainly affects multi-threading situations where several iterators may be obtained over the same underlying sequence.
There is no specific test case for this patch, but it has been present in the 11 branch for some while, and was verified by tracing in the debugger.
Updated by Michael Kay about 3 years ago
- Status changed from New to Resolved
- Priority changed from Low to Normal
- Applies to branch 10 added
- Fix Committed on Branch 10 added
Fix applied to XPathContextMinor
Updated by O'Neil Delpratt about 3 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 10.6 added
Bug fix applied in the Saxon 10.6 maintenance release
Updated by Michael Kay about 3 years ago
It's possible that the symptoms described in bug #4934 could be related to this bug.
Please register to edit this issue