Project

Profile

Help

Revision 2bcac305

Added by Michael Kay almost 13 years ago

Fix bug 2550711 (TinyTree parent pointers in pull mode)

View differences:

latest9.1/bj/net/sf/saxon/tinytree/TinyTreeEventIterator.java
136 136
                pendingEndEvents = thisDepth - nextDepth;
137 137
                return tree.getNode(currentNodeNr++);
138 138
            case Type.PARENT_POINTER:
139
                throw new IllegalStateException("First child node must not be a parent-pointer pseudo-node");
139
                currentNodeNr++;
140
                return next();
140 141
            default:
141 142
                throw new IllegalStateException("Unknown node kind " + tree.nodeKind[currentNodeNr]);
142 143
        }

Also available in: Unified diff