Project

Profile

Help

Revision bb310ffc

Added by Michael Kay about 1 year ago

Fix bug 4822

View differences:

latest10/hej/net/sf/saxon/tree/tiny/TinyNodeImpl.java
481 481

  
482 482
                case AxisInfo.PRECEDING:
483 483
                    if (type == Type.ATTRIBUTE || type == Type.NAMESPACE) {
484
                        return new PrecedingIterator(tree, getParent(), nodeTest, false);
484
                        return getParent().iterateAxis(axisNumber, predicate);
485 485
                    } else if (tree.depth[nodeNr] == 0) {
486 486
                        return EmptyIterator.ofNodes();
487 487
                    } else {

Also available in: Unified diff