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=12773>. 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=12773 org.apache.xpath.axes.ChildTestIterator does not use indexes for traversing indexes Summary: org.apache.xpath.axes.ChildTestIterator does not use indexes for traversing indexes Product: XalanJ2 Version: 2.4 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: org.apache.xpath AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In current version of org.apache.xpath.axes.ChildTestIterator all code , which use indexes for traversing is commented out. If uncomment , the smoketest fails m on whildcard calls. The source of the problem is if operator -// || localName == NodeTest.WILD -// || namespace == NodeTest.WILD) it appears that after org.apache.xpath.patterns.NodeTest.initNodeTest the local name is "*" but not equals to NodeTest.WILD. After changing comparison to equals, the smoketest passed. Patch file will be attched One of my transformations performed 40% faster , after I enabled using indexes there! Best regards, Pavel
