[ 
https://issues.apache.org/jira/browse/ODE-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jayant Vaish updated ODE-968:
-----------------------------

    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.


  was:
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.

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.


    
> Ode Extension XPath functions executes twice.
> ---------------------------------------------
>
>                 Key: ODE-968
>                 URL: https://issues.apache.org/jira/browse/ODE-968
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>            Reporter: Jayant Vaish
>            Priority: Critical
>         Attachments: DomToString.zip
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to