Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


java and xpath

From: c b <cindyloo_home@-----.--->
To: xml-dev@-----.---.---
Date: 5/1/2007 2:57:00 PM
hi there-  I have a data-oriented XML schema db that contains mostly scheduling information.. I have attempted to use javax.xml.* library to query the db, with abysmal performance.      statements such as  xpath.evaluate(doc,"//sdp:service//sdp:trip) or even the pre-compiled version  xexpr.evaluate(nodelist)     are an order slower than the DOM call getTagByName("trip").     don't even get me started on queries like "//sdp:service//sdp:trip[id='1'][type='north']"        I see there are many xpath enabled libraries.. is there one in which xpath utilization is much faster? at least on par with the DOM calls? I've looked on the web and it seems that query processing optimizaiton is an academic pursuit of it's own...     Should I rather be using DOM's new implementation of
 XPath ?  should I be using an RDBMS rather than an xml db at all if query performance is going to be so slow?   many questions..  I am planning to do some additional benchmarking, but I'd rather not re-invent the wheel... If someone could point me to an old post or even better  answer my primary question directly, that would be great.  thanks,  Cindy


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent