Assignment to text() does not work
----------------------------------

                 Key: ODE-338
                 URL: https://issues.apache.org/jira/browse/ODE-338
             Project: ODE
          Issue Type: Bug
          Components: BPEL Runtime
    Affects Versions: 1.2
            Reporter: Josef Spillner


According to the BPEL 2.0 spec, the following should be possible:

<assign>
   <copy>
      <from>$creditApprovalVar/tns:approvedLimit</from>
      <to>$approvalNotice3Var/text()</to>
   </copy>
</assign>

However, with ODE the assignment is not possible. I'm declaring a variable 
$message to be of type message:

  <wsdl:message name="message">
    <wsdl:part name="main" element="message" />
  </wsdl:message>

The element message has a simply type:

  <s:element name="message" type="s:string"/>

Now the following is possible, not sure if it is legal:

<from>substring("12345", 0, 3)</from>
<to>$message.main</to>

But not the following, even though it would be legal:

<from>substring("12345", 0, 3)</from>
<to>$message.main/text()</to>


-- 
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