Some serious performance issues with XPathAPI processing
--------------------------------------------------------

                 Key: XALANJ-2502
                 URL: https://issues.apache.org/jira/browse/XALANJ-2502
             Project: XalanJ2
          Issue Type: Bug
      Security Level: No security risk; visible to anyone (Ordinary problems in 
Xalan projects.  Anybody can view the issue.)
          Components: XPath-API
    Affects Versions: 2.2.x
         Environment: Win Xp, Java 5, xalan-2.7.1, xerces-2.9.0
            Reporter: pradip sonar
            Priority: Critical


I am facing some serious performance issues with XPathAPI processing using 
the latest releases of Xalan (xalan-2.7.1). I am using Xerses release 
xerces-2.9.0.

I tried a very simple test case which attempts using a DOM document 
which consists of about 1000 sibling elements directly beneath the document 
root node.

I query this file by getting a 1000 element NodeList from the root 
using XPathAPI.selectNodeList() and subsequently querying each of the 1000 
nodes with 4 calls to XPathAPI.selectSingleNode() in order to get the 
attribute and node values.

Using the first releases of Xalan 1.x, this was 
accomplished in under very few seconds. Using the current releases, noted 
above, 
this takes up to few minutes!.

Does anyone know anything about this, are others having these probems?


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to