logo       

Re: AbstractMethodError (Xerces 2.6.2 with 2.0.2): msg#00037

Subject: Re: AbstractMethodError (Xerces 2.6.2 with 2.0.2)
"andrew cooke" <andrew@xxxxxxxxxx> wrote on 03/17/2006 12:44:43 PM:

> 
> Thanks.  That's generally clear, but one thing confuses me.  You say 
that
> Dom 3 isn't enabled until 2.7, but the code works find with plain Java
> 1.5, and also with 2.6.2 explicitly included (and selected with -D...)

Xerces 2.6.2 [1] was released before DOM Level 3 [2] became W3C 
Recommendation. It was compiled with DOM Level 2. The DOM Level 3 
implementation wasn't complete and its method signatures differ from the 
official DOM Level 3 interfaces in several places. If you're using DOM 
Level 3 methods with this version of Xerces your milage may vary. 

> That seems to contradict the 2.7.0 claim.  Was the Xerces in the JAXP
> bundled with JDK 1.5 compiled using the special target you mention?

What is bundled in JDK 5.0 does not correspond to any Apache version.

> Or I guess 2.6.2 could be later than 2.7.0 if there's some backporting 
going on?

No.

> Thanks,
> Andrew
> 
> PS If anyone googles this looking for a Maven-related solution, there 
are
> my notes on how to exclude this dependence in Maven here -
> http://www.acooke.org/cute/JavaXMLdep0.html
> 
> 
> Michael Glavassevich wrote:
> > Element.setIdAttribute() [1] is a DOM Level 3 method. DOM Level 3 has 
only
> > been supported in the standard distribution since Xerces 2.7.0. In 
earlier
> > versions there was experimental support for DOM Level 3 which you 
could
> > access by building Xerces with a special build target. The 
implementation
> > wasn't complete until Xerces 2.7.0. You'll run into problems if the 
API
> > and implementation versions are out of synch.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscribe@xxxxxxxxxxxxxxxxx
> For additional commands, e-mail: j-users-help@xxxxxxxxxxxxxxxxx

[1] 
http://marc.theaimsgroup.com/?l=xml-apache-announce&m=107731923805891&w=2
[2] http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@xxxxxxxxxx
E-mail: mrglavas@xxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe