OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Sun XML early access

[ Lists Home | Date Index | Thread Index ]
  • From: Tyler Baker <tyler@infinet.com>
  • To: "Simon St.Laurent" <simonstl@simonstl.com>
  • Date: Fri, 25 Sep 1998 10:26:24 -0400

"Simon St.Laurent" wrote:

> 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.

The SAX support is solid and the only SAX Parser that is faster that I am aware
of is XP.  This is understandable since I have personally found that XP's I/O
routines are tons faster than the java.io classes which the SUN Parser uses.
Everything in the com.sun.xml.tree package (including the DOM support) is poorly
implemented (and that is a claim I make without even looking at the source).
When parsing Jon Bosak's ot.xml I get out of memory errors on the second try,
even after trying to reclaim memory from the first try (I had to write my own
benchmarks as the there were none supplied.).  Besides the memory problems,
building the DOM tree is incredibly slow.  Better off to stick with something
else like Docuverse for now.

> If anyone's found any land mines, please let me know.  I'm used to setting
> them off, but it's nice to know if other people have too.

The package is pretty much just SAX and DOM support and some experimental stuff
dealing with beans.  The good news is that this is not packaged as a Java
extension (something I feared SUN would do) but under the com.sun namespace.  I
guess the "open-process" with regards to SUN, Java, and XML may work out after


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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS