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

Effective DOM (was RE: Effective XML)

  • To: xml-dev <xml-dev@l...>
  • Subject: Effective DOM (was RE: Effective XML)
  • From: "Champion, Mike" <Mike.Champion@S...>
  • Date: Thu, 3 Jan 2002 10:17:33 -0500

Effective DOM (was RE:  Effective XML)


> -----Original Message-----
> From: Fred L. Drake, Jr. [mailto:fdrake@a...]
> Sent: Thursday, January 03, 2002 9:40 AM
> To: Leigh Dodds
> Cc: xml-dev
> Subject: RE:  Effective XML

 
>   Otherwise the DOM seems incredibly painful to use directly.

[Disclaimer: I was an editor of DOM Level 1, so forgive any whiny
defensiveness.]

DOM was indeed driven by the requirements to be an HTML browser API, and
there is no doubt that JAXB-like tools are far more effective for generating
application-specific object models (assuming you have a schema!). But in my
biased opinion, it seems like a pretty straightforward way to use the
generic XML object model.  It will be MORE useful when Level 3 defines
standard load/save, validation, and XPath access interfaces are defined, of
course. 

I'd be interested in hearing concrete examples of why people find the DOM
painful to use, in what ways JDOM and dom4j seem more friendly (besides
their native Java idioms, of course), etc. I have three motivations for
soliciting this input:

- Improving the standard DOM down the road 
- Defining convenience layers on top of the W3C DOM that minimize the pain
- Defining and documenting DOM gotchas, workarounds, best practices, etc.

Thoughts?


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.