[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XPath over DOM

Subject: Re: XPath over DOM
From: "Kaganovich, Yevgeniy (Eugene)" <ykaganovich@xxxxxxxxxxx>
Date: Thu, 15 Feb 2001 22:15:57 -0800
size of xpath
>I think most of the Java XSLT processors do this by having a wrapper layer
>above the DOM, with a significant performance penalty over using a direct
>implementation of the XPath tree model. Saxon is an exception, but it is a
>recognized requirement.

Since I think this could be of interest to some people, here's my summary of
the feedback I got for XSLT processors traversing directly over DOM:

o Xalan-J v1: I heard that it has its own DTM, but hasn't verified that.

o Xalan-J v2: Yes.

o Oracle: Michael Kay says yes, but from looking at APIs, it appears to use
Oracle parser's DOM implementation objects. Can someone confirm one way or
the other?

o XT: Yes, but disclaimed on the website as "significantly less functional
and much slower". I would love to see some quantification for
"significantly" and "much", if anyone has run any tests...

o Rasin: Yes, but may possibly move away from that implementation in the
future.


Also, the wrapper layer that Michael mentioned has gotten me slightly
worried: if the wrapper is memory intensive enough, it could be just as bad
as reparsing the document into own DTM. If I use persistence-based DOM
implementation (for example, a database that supports DOM APIs), I
theoretically should be able to handle XML documents of any size; but if the
size of XPath-specific objects grows linearly with the size of the document,
that seems like it could cause a problem. Could the experts who are familiar
with internals of any of these processors roughly estimate amount of memory
taken up by wrappers with respect to the size of the original XML document?
Or am I just overthinking it?

Any comments would be most welcome. 

Thanks,

- Eugene

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.