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: Mike Fitzgerald <mikefz AT wyeast.net>
  • To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org, Wolfgang Hoschek <whoschek AT lbl.gov>
  • Subject: Re: [XOM-interest] DOMConverter getDOMImplementation
  • Date: Tue, 06 Apr 2004 09:29:34 -0600

Nonetheless, the information that Wolfgang is sharing could be helpful to someone converting DOM. That is why some technical committees create a FAQ as a place for things like this to go. If it doesn't wind up in the language, it still has a useful place to live.

Mike

Elliotte Rusty Harold wrote:
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.




Archive powered by MHonArc 2.6.24.

Top of Page