ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Bruckhoff <brchr...@uni-koblenz.de>
Subject X-Path gives a double value to integer a variable
Date Thu, 30 Jun 2011 18:13:41 GMT
Hi.

The following assignment sets a:currentRetries e.g. to "2.0" if it was 
"1" before. a:currentRetries is of type xsd:integer. Why BPEL/Xpath sets 
it to a xsd:double value then?
How can I fix this?

Regards
Christian

<bpel:assign validate="no" name="currentRetriesPlusPlus">
  <bpel:copy>
   <bpel:from>
 
<![CDATA[$processAlertRequest.processAlertRequestPart/tns:alert/a:currentRetries 
+ 1]]>
   </bpel:from>
   <bpel:to>
 
<![CDATA[$processAlertRequest.processAlertRequestPart/tns:alert/a:currentRetries]]>
   </bpel:to>
  </bpel:copy>
</bpel:assign>


Mime
View raw message