>From XPath 1.0 spec section 4.2, the string() function: *[...] A number is converted to a string [...] *if the number is an integer, the number is represented in decimal form as a Number<http://www.w3.org/TR/xpath#NT-Number>with no decimal point and no leading zeros,
So it could be an issue with Ode, although we would need a full BPEL code to verify. Please file an issue. alex On Thu, Apr 2, 2009 at 6:22 AM, Serkan Camurcuoglu < [email protected]> wrote: > Hi all, > We have a problem with assigning from an int variable to a string variable. > For example, when we assign an int variable with a value of 2 to a string > variable using the string() function, the result string is "2.0". However, > the partner link that we call requires it to be "2". I know we can overcome > this problem by using substring etc. but we want our bpel code to run on > multiple bpel engines (e.g. both ODE and ActiveVOS) so we need a standard > solution. Is there a better way to achieve this conversion? > > Best regards, > > SerkanC > >
