src/main/java/org/apache/commons/jxpath/ri/model/dom/DOMNodePointer.java [432:447]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if (index == WHOLE_COLLECTION) {
            index = 0;
        }
        final boolean success =
            getAbstractFactory(context).createObject(
                context,
                this,
                node,
                name.toString(),
                index);
        if (success) {
            NodeTest nodeTest;
            final String prefix = name.getPrefix();
            final String namespaceURI = prefix == null ? null : context
                    .getNamespaceURI(prefix);
            nodeTest = new NodeNameTest(name, namespaceURI);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNodePointer.java [560:575]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if (index == WHOLE_COLLECTION) {
            index = 0;
        }
        final boolean success =
            getAbstractFactory(context).createObject(
                context,
                this,
                node,
                name.toString(),
                index);
        if (success) {
            NodeTest nodeTest;
            final String prefix = name.getPrefix();
            final String namespaceURI = prefix == null ? null : context
                    .getNamespaceURI(prefix);
            nodeTest = new NodeNameTest(name, namespaceURI);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



