You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by "Jackson, Douglas" <dj...@ugs.com> on 2008/01/07 22:39:18 UTC
BPEL query question
Hi!
I thought the following would be equivalent:
<from>$data-xfer-req-msg.data-xfer-req-part/proc:email</from>
---
<from variable="data-xfer-req-msg" part="data-xfer-req-part">
<query>/proc:email</query>
</from>
However, the first one works and the second one fails.
-Doug.
Re: BPEL query question
Posted by Matthieu Riou <ma...@offthelip.org>.
As I just answered in the issue:
The query element shouldn't use an absolute XPath expression, the behavior
of such query is undefined by the spec. You could make it to work using a
path the represent the variable structure but it would expose you to too
much of ODE's internal. So I'd definitely recommend doing (note the removal
of the leading '/'):
<query>proc:email</query>
Cheers,
Matthieu
On Jan 7, 2008 3:04 PM, Alex Boisvert <bo...@intalio.com> wrote:
> I created a tracker for this issue,
> https://issues.apache.org/jira/browse/ODE-221
>
> alex
>
> Jackson, Douglas wrote:
> > Hi!
> > I thought the following would be equivalent:
> >
> > <from>$data-xfer-req-msg.data-xfer-req-part/proc:email</from>
> >
> > ---
> >
> > <from variable="data-xfer-req-msg" part="data-xfer-req-part">
> > <query>/proc:email</query>
> > </from>
> >
> > However, the first one works and the second one fails.
> > -Doug.
> >
> >
>
>
Re: BPEL query question
Posted by Alex Boisvert <bo...@intalio.com>.
I created a tracker for this issue,
https://issues.apache.org/jira/browse/ODE-221
alex
Jackson, Douglas wrote:
> Hi!
> I thought the following would be equivalent:
>
> <from>$data-xfer-req-msg.data-xfer-req-part/proc:email</from>
>
> ---
>
> <from variable="data-xfer-req-msg" part="data-xfer-req-part">
> <query>/proc:email</query>
> </from>
>
> However, the first one works and the second one fails.
> -Doug.
>
>