You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Dmitri Plotnikov <dm...@apache.org> on 2005/02/01 00:57:55 UTC
Re: [jxpath] optimize xpath query on xpath enabled containers
Michael,
I believe, adding this type of delegation for query evaluation would require
quite significant refactoring of JXPath. However, I could be wrong. Do you
have a particular fix in mind?
Thank you,
- Dmitri
----- Original Message -----
From: "Michael Homeijer" <mi...@fam-homeijer.demon.nl>
To: "Jakarta Commons Developers List" <co...@jakarta.apache.org>
Sent: Monday, January 31, 2005 2:43 PM
Subject: [jxpath] optimize xpath query on xpath enabled containers
Hi,
Im am looking at executing jxpath queries against a model that supports lazy
loading and queries. Queries like "news[@title = ''test']" will be executed
by looping through all nodes and testing if the expression is true for a
node.
Because my model supports queries itself, It would be much faster to query
the model and have the model itself execute the query that will load only
the nodes for which the expression is true.
I saw a xalan integration in the code, possibly for the same purpose. Is
there a way to extend jxpath with functionality that uses the model (or the
nodepointer) itself to execute the rest of the query?
TIA,
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org