Sun XML early access
Tyler Baker
tyler at infinet.com
Fri Sep 25 16:25:24 BST 1998
"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
all.
Tyler
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list