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

Re: Sun XML early access

  • From: "Don Park" <donpark@q...>
  • To: "XML-Dev Mailing list" <xml-dev@i...>
  • Date: Fri, 25 Sep 1998 16:37:03 -0700

xml in access
>Has anyone had a chance to look at the early access Sun XML package yet?
>I'm just starting my explorations, and (so far, to me) it looks pretty
>intriguing.  The DOM interface is promising, and I'm very glad to see SAX
>support.

I have looked at the DOM implementation only and found that:

1. sibling-based navigation is considerablly slower than index-based
navigation.

Actually, this can be fixed rather easily by caching last-accessed index.

2. getElementsByTagName is not efficient.

getElementsByTagName is best implemented using lazy evaluation techniques
but Sun XML package does cache the evaluation result.  For example, the
getLength() method of the returned NodeList walks the whole subtree
everytime.  item() method also walks the subtree until the desired number of
nodes have been seen.

3. Output needs more design work.

One needs to subclass to override output and there is no built in support
for conversion to other formats.  For example, you can not write out a DOM
Document as HTML without some serious patching or overriding.

4. XML Bean concept is a little disappointing for what it does.

I am afraid I can not go into details about this due to Docuverse's own work
in this area but Sun needs to broaden their view of what a bean is.

I am quite sure that efficiency issues will all be resolved over time but
design issues are quite serious and deserves more attention.

Best,

Don Park
Docuverse




xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.