Page 1 of 1
Xerces-J 2.61 not working
Posted: Sat Feb 14, 2004 7:36 am
by petefc
Hello,
I recently upgraded my eclipse pluggin, and am now getting a message:
"The Expected Xerces version Xerces-J 2.60 was not loaded due to the fact that Xerces-J2.6.1 was found"
Pluggin seems to work, but occasionaly throws errors
thanks
Posted: Sat Feb 14, 2004 9:40 pm
by george
Hi,
Oxygen has a strong dependence on Xerces so it is recommended to use the Xerces version that cames with oXygen that is Xerces 2.6.0. It seems you have Xerces 2.6.1 loaded through Java endorsed mechanism.
We always try to ship the latest Xerces version at the time of release. However we found some problems with Xerces 2.6.1 and we decided not to use it for oXygen 3.1 (released a couple of days after Xerces 2.6.1). I think that was a good decision as there were found some problems with Xerces 2.6.1 and early next week it is planned a new point release, Xerces 2.6.2. For more details see:
http://nagoya.apache.org/eyebrowse/Read ... msgNo=3636
Best Regards,
George
Pointing to the correct version of xerces.
Posted: Sun Feb 15, 2004 11:51 pm
by petefc
Could you please detail how you point Oxygen stand alone and the eclipse pluggin to a specific instance of xerces. Under prefrences/xml parsers options I can find no way to specify a package.
thanks
More
Posted: Sun Feb 15, 2004 11:55 pm
by petefc
FYI,
stand alone works fine,
but eclipse, points the the version of xerces in my JDK
Posted: Tue Feb 17, 2004 11:10 am
by george
Hi,
In order to have the plugin working properly you should remove Xerces 2.6.1 from your JDK. The standalone version works because we use a custom classloader created exactly for this kind of problems, thus even if another Xerces is specified in the JVM extensions or endorsed directories we load and use the Xerces that cames with oXygen. In the plugin case we rely on the eclipse plugin classloader.
Best Regards,
George