Sorry, I missed that point. I had similar problems too. Things started
to work when i changed "...[$index]..." to "...[position() =
$index]...". For example,
<bpel:condition>$validators/exp:validator[position() =
$indexOfHTToComplete]/@completed = 'false'</bpel:condition>

Karolis
On Fri, Feb 4, 2011 at 2:41 PM, izgur <[email protected]> wrote:
>
> My problem is not the assignment ... it goes well well with:
> <bpel:copy>
> <bpel:from>
> <![CDATA[$input.payload/tns:arrSubscriber/tns:User[round($iterator)]/tns:sMultimediaIP]]>
> </bpel:from>
> <bpel:to variable="checkString"></bpel:to>
> </bpel:copy>
>
> But the bpel:condition function has issues on array:
> <bpel:if name="CheckMultimediaIP">
>       <bpel:condition
> expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"><![CDATA[$input.payload/tns:arrSubscriber/tns:User[round($iterator)/tns:sMultimediaIP]</bpel:condition>
>
> It returns the correct value only for the first element(user) in my array
>
>
> --
> View this message in context: 
> http://old.nabble.com/IS-https%3A--issues.apache.org-jira-browse-ODE-178-FIXED----tp30843031p30844104.html
> Sent from the Apache Ode User mailing list archive at Nabble.com.

Reply via email to