SOA 11g: BPEL Decimal Variable Comparison Gives Incorrect Results
(Doc ID 1513277.1)
Last updated on MARCH 13, 2019
Applies to:Oracle SOA Suite - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
There is a problem when using the <= comparison inside XPATH when the data type is decimal. Only the first digit of both left and right expression is used for comparison.
Below are return values of comparison
1.0 <= 30.0 (returns true, as 1 < 3)
2.0 <= 30.0 (returns true, as 2 < 3)
3.0 <= 30.0 (returns true, as 3 == 3)
4.0 <= 30.0 (returns false, expected true, as 4 > 3, ideally 4 and 30 should have been compared but looks like XPATH is only comparing first digit)
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document