-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Great !! I'd love to see it integrated in to Axiom if it is better than
Jaxen.

Since you are the creator/father/founder/ of SXC, any idea to integrate
it with Axiom?

Thanks a lot Dan, in advance :)

- -- Chinthaka

Dan Diephouse wrote:
> I realize that this is a little late in response to the original poster's
> question, but you may want to check out SXC - http://sxc.codehaus.org. It
> doesn't have complete XPath support, but for simple expressions it can
> create an optimized streaming stax parser which listens for your XPath
> expressions. Its VERY fast.
> 
> Disclaimer: I wrote SXC :-)
> 
> Cheers,
> - Dan
> 
> On 4/22/07, Eran Chinthaka <[EMAIL PROTECTED]> wrote:
>>
> I assume no one had answered this email.
> 
> Anyway, yes we build the whole object model internally to provide XPath
> support. We have not implemented XPath on top of AXIOM or Stax. We
> simply plugin in Jaxen document navigator mechanism to provide XPath
> support.
> 
> Couple of things to note here. Most of the queries that we encounter
> requires the whole model to be build. So the 90% case looks at the whole
> object model. If we try to optimize for the 10% case, then that might
> lead to performance drawbacks of the system.
> 
> These days I am looking at some of the techniques in SDI systems
> (Selective Dissemination of Information) to be used inside Axiom. But I
> am yet to find an efficient way to do this with a pull parser. Most of
> them tries to exploit on the shared paths of the queries, but I think we
> won't execute more than couple of XPaths against a given object model.
> So if you find a better way of implementing XPath over Axiom, please do
> let us know or even help us by implementing it.
> 
> Thanks,
> Chinthaka
> 
> Angel Todorov wrote:
>> Hi all,
> 
>> I can see AXIOM has support for XPath. But beneath it is a StAX
>> parser, and such pull-parsers don't have random access support for XML
>> documents, by design.
> 
>> So my question is: Do you call build() on the OM Tree that one wants
>> to lookup with XPath? That is, do you cache everything in memory in
>> order to support such xpath operations, or you preserve the full
>> advantages of a pull-based parser ?
> 
>> Thank you in advance.
> 
>> Regards,
>> Angel
> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
>>
- ---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGLZvyjON2uBzUhh8RApcfAKCXNi6zhn7qsaWfjmlmFAn5XqYoCwCbBzx/
koNEk9WaC68QJXZwF/e9iTE=
=rGBz
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to