-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please forget the last message, sorry.

Christoph

Christoph M. Pflügler schrieb:
> Hello everybody,
> 
> I have a newbie question concerning XPath in a BPEL while construct:
> 
> The condition of the following while always evaluates to 'true':
> 
> <while>                                                               
> <condition>
> $processState_internal != 'empty_before_FAILURE' and
> $processState_internal != 'empty_before_SUCCESS'
> </condition>                                                                  
>    <sequence>
>       ...
>       <assign>
>          <copy>
>             <from>
>               <literal>
> <wsdlDoc:state_InternalType>empty_before_SUCCESS</wsdlDoc:state_InternalType>
>               </literal>
>               </from>
>             <to>
>                $processState_internal
>             </to>
>         </copy>
>         </assign>
> </while>
> 
> Does anybody know why? If the XPath expression is wrong, what would be
> the correct one?
> 
> The following while loop terminates as desired:
> 
> <while>                                                               
> <condition>
> $processState_internal != 'empty_before_SUCCESS'
> </condition>                                                                  
>    <sequence>
>       ...
>       <assign>
>          <copy>
>             <from>
>               <literal>
> <wsdlDoc:state_InternalType>empty_before_SUCCESS</wsdlDoc:state_InternalType>
>               </literal>
>               </from>
>             <to>
>                $processState_internal
>             </to>
>         </copy>
>         </assign>
> </while>
> 
> Any hint is greatly appreciated!
> 
> Regards,
> Christoph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIuap20Do4wUHmzBsRAr7VAJ0R5a2k1UH2yH710nycEHC9bFnm8wCfez8t
fpPJQGH6NlKp6vf8ZzekYJ4=
=FMa+
-----END PGP SIGNATURE-----

Reply via email to