Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] DOMConverter getDOMImplementation

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: Wolfgang Hoschek <whoschek AT lbl.gov>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] DOMConverter getDOMImplementation
  • Date: Tue, 6 Apr 2004 10:49:47 -0400

At 8:34 PM -0700 4/5/04, Wolfgang Hoschek wrote:

Anyway, my suggested code snippet gives a reasonable default without any further info, right? Or are there DOM libs where the snippet breaks, or misbehaves?

Yes. Not all DOM implementations support JAXP. However, the key point is still that XOM does not have enough information to pick a reasonable default. It is not possible to program to the DOM interfaces alone. DOM programs *must* be written with the knowledge of which implementation is being used.
--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page