xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Hodges <harmo...@swbell.net>
Subject RE: versions of org.w3c.dom
Date Thu, 24 Aug 2000 22:31:07 GMT


> -----Original Message-----
> From: Edwin Goei [mailto:Edwin.Goei@eng.sun.com]
> Sent: Thursday, August 24, 2000 2:39 PM
> To: general@xml.apache.org
> Subject: Re: versions of org.w3c.dom
>
>
> R.Piterman@wcenter.de wrote:
> >
> > ----- Forwarded by Ron Piterman/WCENTER on 24.08.00 15:21 -----
> >   Ron Piterman
> >                           To:        cocoon-users@xml.apache.org,
> >   24.08.00 14:08  xerces-j-dev@xml.apache.org
> >                           cc:
> >                           Subject:        versions of org.w3c.dom
> >
> > I noticed the org.w3c.dom classes in xerces are different than the
> > ones I downloaded from sun : an example is the
> > Element.getAttributeNS(...) method which does not exist in my api.
> > How come, and where do I get the most up to date api ?
> > Ron
>
> DOM is an evolving API that is backward compatible so you should be able
> to use newer DOM interfaces with code that uses older ones.

Only it isn't backwards compatible.  They added methods to interfaces when
they did level 2, so code built using the old interfaces won't compile
anymore.

Backwards compatibility would have meant adding interfaces exclusive to
level 2, or adding a whole new package structure.


Mime
View raw message