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

RE: JDOM vs. JAXP/Xerces for XML document creation


difference between jdom and jaxp
> In practice JDOM code is *much* more 
> > portable across parsers than DOM implementations are. I have yet to 
> > be able to run a significant DOM program on two different DOM 
> > implementations (in Java) without debugging and rewriting 
> some code, 
> > even in those parts that are allegedly standard.
> 
> Was it due to differences in interpretation of the 
> specifications, bugs in the implementations, or differences 
> between your interpretation and the implementation 
> interpretation? 

My experience of DOM is that there are lots of nasty subtle differences
between implementations, for example in the handling of namespaces, the
handling of entity references, and many other details. Usually when I go
and check the spec it doesn't tell me which behavior is right, at least
not without a week of study.

> 
> > >- JDOM's architecture expolits the fact that there it 
> doesn't have to 
> > >worry about multiple implementations. 

Except that every version of JDOM has been incompatible with the one
that went before - something that is very much a characteristic of
software developed without the benefit of free-standing interface
specifications.

Michael Kay
Software AG
home: Michael.H.Kay@n...
work: Michael.Kay@s... 


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.