ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ODE-570) Integer to string conversion does not work as expected
Date Tue, 27 Aug 2013 23:29:52 GMT

    [ https://issues.apache.org/jira/browse/ODE-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751882#comment-13751882

Hudson commented on ODE-570:

UNSTABLE: Integrated in ODE-1.x #404 (See [https://builds.apache.org/job/ODE-1.x/404/])
fixes ODE-570: Integer to string conversion does not work as expected. (vanto: rev 70c766040de26d2ef5cbcacebfaf4d8fb9f2a6e2)
* dependencies.rb
* bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath10/runtime/XPath10ExpressionRuntime.java

> Integer to string conversion does not work as expected
> ------------------------------------------------------
>                 Key: ODE-570
>                 URL: https://issues.apache.org/jira/browse/ODE-570
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 2.0
>         Environment: N/A
>            Reporter: Serkan Camurcuoglu
>            Assignee: Tammo van Lessen
>            Priority: Minor
>             Fix For: 1.3.6, 1.4
>         Attachments: HelloWorld2.zip
>   Original Estimate: 48h
>  Remaining Estimate: 48h
> According to XPath 1.0 specification section 4.2 (http://www.w3.org/TR/xpath#section-String-Functions)
the string() function should work this way for integers:
> "if the number is an integer, the number is represented in decimal form as a Number with
no decimal point and no leading zeros, preceded by a minus sign (-) if the number is negative"
> but for example using the string() function on an integer with value 2 results in the
string "2.0" which is not correct according to the specification. The result should be the
string "2" according to the specification.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message