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

JAXP and Java XML APIs (was RE: difference bet. xerces andcrim

  • From: Leigh Dodds <ldodds@i...>
  • To: Dylan Walsh <Dylan.Walsh@k...>, Xml-Dev <xml-dev@l...>
  • Date: Wed, 26 Sep 2001 17:45:24 +0100

xerces xml apis

> -----Original Message-----
> From: Dylan Walsh [mailto:Dylan.Walsh@k...]
> Sent: 26 September 2001 17:17
> To: gharesh@v...; Xml-Dev
> Subject: RE:  difference bet. xerces and crimson

[Crimson/Xerces comparison snipped]

> Xerces supports the JAXP API, so if you write your code to use that API
> exclusively, you can use either parser and switch between them using a
> simple configuration change.

I've been strongly recommending JAXP mainly because of this reason.
I had some reservations about it initially, simply because it didn't
offer very much (adding a few factory classes isn't that much effort).
However the improvements in JAXP 1.1 caused me to revise my opinion.

To me, JAXP seems to be the 'best practice' API for Java (acknowledging
that not everyone agrees on the precise meaning of 'best practice').
With the only apparent downside being that you 'lose out' on the ability
to use APIs like JDOM and dom4j.

However quotes such as that on todays Cafe Con Leche (from this
jdom-interest posting [1]) make me wonder if I'm missing out on a trick or
two somewhere.

I can only attribute this '3 months saving' to the difficulty in the DOM
model. From my own experiences the amount of code I have to write
could have been greatly reduced by a means to query a DOM using
XPath; something which seems to be on the way.

Anyone else have any thoughts on this?

Cheers,

L.

[1].
http://lists.denveronline.net/lists/jdom-interest/2001-September/008297.html


--
Leigh Dodds, Research Group, ingenta | "Pluralitas non est ponenda
http://weblogs.userland.com/eclectic |    sine necessitate"
http://www.xml.com/pub/xmldeviant    |     -- William of Ockham


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.