[
https://issues.apache.org/jira/browse/ODE-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jürgen Schumacher updated ODE-429:
----------------------------------
Attachment: ode-xpath1-jaxp-2008-11-25.patch
Thanks for your feedback, Matthieu.
I was catching Throwable, because in my tests the creation of the expression
compilers threw NoClassDefFoundError instead of ClassNotFoundException when
Saxon or Jaxen were not available. I do not know if this is because we are
inside Equinox and the classloaders behave differently. Anyway, I have created
this new patch that catches Exception and NoClassDefFoundError seperatly. I
definitely need to catch this error here to make the patch work.
It's again a complete patch against the current trunk (still the same rev as
yesterday, it seems), so the older attachments are obsolete.
Cheers,
Juergen.
> Patch to make Saxon and Jaxen optional for XPath 1.0 processing
> ---------------------------------------------------------------
>
> Key: ODE-429
> URL: https://issues.apache.org/jira/browse/ODE-429
> Project: ODE
> Issue Type: Improvement
> Components: BPEL Compilation/Parsing, BPEL Runtime
> Affects Versions: 2.0
> Reporter: Jürgen Schumacher
> Fix For: 2.0
>
> Attachments: ode-xpath1-jaxp-2008-11-24.patch,
> ode-xpath1-jaxp-2008-11-25.patch, ode-xpath1-jaxp.patch
>
>
> See
> http://ode.markmail.org/search/?q=saxon+jaxen#query:saxon%20jaxen+page:1+mid:3sramehxzsfceg76+state:results
>
> This patch adds classes for XPath 1.0 compilation and evaluation based only
> on JAXP interfaces, independent on any specific JAXP implementation. It's
> selected as a fallback in the BPELCompilers if instantiating the existing
> XPath-1.0-implementation based on Jaxen (and Saxon for doXslTransform) fails.
> This enables us to remove Jaxen and Saxon from the classpath which are not
> accepted by the Eclipse foundation because of legal issues (code provenance
> problems...). So the default behaviour of ODE should be the same as without
> these changes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.