On Wed, May 25, 2011 at 14:25, Stian Soiland-Reyes
<[email protected]> wrote:
[cut]
> Try dropping the JAR (and anything they depend on) into the lib/
> folder of the Taverna distribution, alternatively in the Beanshell
> Dependencies make sure the tickbox for the JAR is ticked, and that you
> select "System classloader".
>
>
> This might or might not break other uses of the XMLOutputFactory such
> as Taverna's own serialisation of say workflows, so you would be on
> your own..

I do the:

try { set property } finally { restore property }

right now, but this doesn't look like a thread-safe solution.

>
>
> You could instead try to see if you can get JSBML to use the the
> WstxOutputFactory specifically instead of assuming the property has
> been set. I guess the stack trace you get now that the implementation
> is not found will hint you towards which part of JSBML you would need
> to call differently or (in worst case) have to patch.

It's hard-coded in the JSBML code (can't call the method in a
different way). I've send bug report to the JSBML's team.

Mikołaj

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/

Reply via email to