Actions
Bug #1942
closedFunction current should have been resolved at compile time
Start date:
2013-12-02
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
The message in the subject line may be produced when a match pattern that is compiled as a GeneralPositionalPattern contains a call on current() within a predicate. The class GeneralPositionalPredicate is used for a particular class of patterns whose result is sensitive, or potentially sensitive, to the position of a node relative to other nodes. In the particular case in question however GeneralPositionalPredicate was used when there was no position-sensitivity - see the reopening of bug 1908. A patch to GeneralPositionalPattern is being committed that causes calls on current() to be properly resolved.
Related issues
Please register to edit this issue
Actions