DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4905>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4905

xsltc: xpath parameters with non-leaf decendant-predicates yield empty nodesets





------- Additional Comments From [EMAIL PROTECTED]  2001-11-22 15:54 -------
For some reason, calling reset() on a subtree of an incomplete clone is causing 
the problem.

Patch:

RCS file: /home/cvspublic/xml-
xalan/java/src/org/apache/xalan/xsltc/dom/StepIterator.java,v
retrieving revision 1.7
diff -u -r1.7 StepIterator.java
--- dom/StepIterator.java       2001/10/30 15:49:32     1.7
+++ dom/StepIterator.java       2001/11/22 23:23:04
@@ -86,7 +86,7 @@
            if (clone._iterator instanceof NodeIteratorBase) {
                ((NodeIteratorBase)(clone._iterator))._isRestartable = true;
            }
-           return clone.reset();
+           return clone;
        }
        catch (CloneNotSupportedException e) {
            BasisLibrary.runTimeError(BasisLibrary.ITERATOR_CLONE_ERR,

Reply via email to