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=6479>. 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=6479 Error in XPathAPI.selectNodeIterator(doc, xpath), creating incorrect number of nodes when query has 3 or more descendant-or-self steps Summary: Error in XPathAPI.selectNodeIterator(doc, xpath), creating incorrect number of nodes when query has 3 or more descendant-or-self steps Product: XalanJ2 Version: 2.3 Platform: PC OS/Version: All Status: NEW Severity: Critical Priority: Other Component: org.apache.xpath AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In ApplyXPath sample provided by Xalan-Java, when you execute the following statement: NodeIterator nl = XPathAPI.selectNodeIterator(doc, xpath); If the query string xpath including 3 or more descendant-or-self steps, the result will not have correct number of nodes, e.g. nl has fewer nodes in my example. Meanwhile, the result output will become very slow although the source XML file is not huge enough. Please use the files in the following URLs to take a try: (1) XML file: http://www.eecs.wsu.edu/~hhe/mae.xml (2) XPath query file (a batch of XPath queries) http://www.eecs.wsu.edu/~hhe/test3.xpt
