xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierpaolo Fumagalli <p...@apache.org>
Subject Re: How to deal with differences in DOM implementations?
Date Fri, 03 Mar 2000 22:47:43 GMT
Arnaud Le Hors wrote:
> 
> The problem comes from the way you create a Document. This:
> 
> > Document doc = db.newDocument ();
> 
> isn't part of the DOM.
> 
> DOM Level 1 didn't define any way of creating a document. So every DOM
> Level 1 implementation had to provide its own way of doing this.
> However, DOM Level 2 defines one way to do so, and this is what Xerces
> now supports. Hopefully, as people move their implementation to DOM
> Level 2, you'll have less trouble in this area.

It's the JAXP Xerces implementation... Maybe I made something wrong down
there... Can you check out the
org.apache.xerces.jaxp.DocumentBuilderImpl class? 

	Pier

-- 
--------------------------------------------------------------------
-          P              I              E              R          -
stable structure erected over water to allow the docking of seacraft
<mailto:pier@betaversion.org>    <http://www.betaversion.org/~pier/>
--------------------------------------------------------------------
- ApacheCON Y2K: Come to the official Apache developers conference -
-------------------- <http://www.apachecon.com> --------------------



Mime
View raw message