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

Re: DOM Interoperability was RE: Why the Infoset?

  • From: Michael Champion <Mike.Champion@s...>
  • To: XMLDev list <xml-dev@l...>
  • Date: Wed, 26 Jul 2000 13:24:28 -0400

infoset dom

----- Original Message -----
From: "Dylan Walsh" <Dylan.Walsh@K...>
To: "XMLDev list" <xml-dev@l...>
Sent: Wednesday, July 26, 2000 11:43 AM
Subject: DOM Interoperability was RE: Why the Infoset?



> I recently came across a problem where one vendors Java DOM implementation
> wouldn't play with another venders Java DOM implementation. Does this mean
> that either or both of them is not following the spec, or is the DOM Java
> binding spec. not intended to provide this type of capability?

A DOM *application* should run identically on multiple implementations of
the DOM if a) the spec is indeed unambiguous enough and b) the vendors have
correctly implemented the spec.  (Of course, since the DOM does not specify
all the startup/loading/saving APIs in a standard way, I'm talking about the
results of the standard API calls being identical).

I'm not sure what "wouldn't play with another venders Java DOM
implementation" means exactly.  It is *not* the intention of the DOM to
ensure that that one implementation's specific Java class that implements a
DOM interface can be used directly by another implementation.  For example,
a single class could implement multiple DOM interfaces in one vendor's code
and a single class could implement only one interface in another.  There's
no way that these could "play nicely together" at the class level, only at
the DOM interface level.

Or back to the subject at hand ... a *Java* serialization of the *classes*
in one implementation might be gibberish to another implementation, but the
*XML* serialization of the InfoSet represented by those classes should be
identical.

Forgive me if this is overwhelmingly obvious and I've missed the point of
the question ...


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.