Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
When the XPath query call the ode extension xpathFunction for the first time it expects return type of NODESET, If in case it returns something else then the exception is thrown and in the catch block it executes that function again.
This issue is similar to ODE-969
To reproduce this issue, unzip the attached project in your server's process deployment folder
Set logging level debug for "org.apache.ode.bpel.elang.xpath20.runtime.JaxpFunctionResolver.DomToString"
Now, while running this process "org.apache.ode.bpel.elang.xpath20.runtime.JaxpFunctionResolver.DomToString.evaluate(List args) throws XPathFunctionException" will be executed twice.