You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/09/18 15:58:14 UTC

DO NOT REPLY [Bug 12773] New: - org.apache.xpath.axes.ChildTestIterator does not use indexes for traversing indexes

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: xalan-dev@xml.apache.org
        ReportedBy: Pavel_Ausianik@epam.com


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