[ http://nagoya.apache.org/jira/browse/XALANJ-1534?page=history ]
Henry Zongaro updated XALANJ-1534:
----------------------------------
Priority: Major
> NodeSet.getLength() makes nextNode point to end
> -----------------------------------------------
>
> Key: XALANJ-1534
> URL: http://nagoya.apache.org/jira/browse/XALANJ-1534
> Project: XalanJ2
> Type: Bug
> Components: XPath
> Versions: 2.5
> Environment: Operating System: Windows NT/2K
> Platform: PC
> Reporter: Bill Callahan
> Assignee: Xalan Developers Mailing List
>
> org.apache.xpath.NodeSet maintains its own internal pointer to what the next
> node is. A call to getLength() changes this to point to the last node in the
> list. This is unexpected behavior.
> Workaround: reset() will point it back to the first node in the list, if
> that's
> what you want.
> Fix: Current position should be cached at start of the call and restored at
> the
> end of the call.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]