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

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

iD8DBQFIuZ+C0Do4wUHmzBsRAnhvAJ9Xb5e3hovdUkjIvKSMjEqgEBvq+wCgqDAU
6gpKLYVPXrpXuomyHoC+WBs=
=nLeQ
-----END PGP SIGNATURE-----

Reply via email to