Simple type variables conversion between Java and Saxon in JaxpVariableResolver 
is not correct
----------------------------------------------------------------------------------------------

                 Key: ODE-667
                 URL: https://issues.apache.org/jira/browse/ODE-667
             Project: ODE
          Issue Type: Bug
          Components: BPEL Runtime
    Affects Versions: 1.3.3, 2.0
            Reporter: Rafal Rusin
            Assignee: Rafal Rusin


For example, if we have declared variable:
xsd:date d = '2009-01-01'

And we want to insert it into xml message using assign:
<assign>
  <from>$d</from>
  <to>$msg/some-date</to>
</assign>

we end up with msg containing:
<some-date>2009-01-01T00:00:00Z</some-date>

This is because JaxpVariableResolver converts xsd:date and xsd:dateTime to Java 
Date, which are indistinguishable and converted to xsd:dateTime by Saxon. 

Moreover, for example xsd:integers are converted into Java Longs, which may 
cause data loss, because xsd:integer is defined in xsd to be of arbitrary 
length.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to