Yes it is.  Get the latest and put it in orion/ and it will work fine.
I also use jdom and it works fine.  It will not cause side affects since
the only difference is the DOM level supported.

Matt

Boris Erukhimov wrote:

> Our application uses XML data exchange wrapped into HTTP.
> It is handled by a servlet running under Orion and doing its own XML parsing and
> generating.
> We are using pretty convenient XML API (Jdom ) from http://www.jdom.org which I
> highly recommend.
> The jdom.jar bundle comes with the latest (?)  xerces.jar which I also copied
> into /Orion/lib directory.
> My standalone code worked fine, but after I placed it into servlet it did throw
> NoSuchMethodException complaining at some xerces code.
> Apparently Orion's classloader uses xerces.jar from the Orion root directory
> prior to the one placed in Orion/lib directory.
> Everything works fine after I replaced the old xerces.jar in the Orion root
> directory with the new one which came with jdom.jar bundle.
>
> I don't like that hack because it's an alteration to Orion distribution and hell
> knows what side effects it may cause.
> So, my question are :
>
> Is there any way to force servlet in using certain library if there is some
> naming conflict with the one in Orion root ?
> Orion team, are you going to update xerces.jar in distribution ? Does it involve
> any licensing issue ?
>
> Thanks
> ~boris


Reply via email to