You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Mark Ford (Commented) (JIRA)" <ji...@apache.org> on 2011/11/09 23:47:51 UTC

[jira] [Commented] (ODE-944) XPath Failure

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

Mark Ford commented on ODE-944:
-------------------------------

If the original snippet is accurate, then ODE is behaving properly. Note that the first from spec is copying a CDATA block, NOT an element into the target variable. As a result, the value of the variable should be: <message>&lt;Field&gt;4711&lt;/Field&gt;</message>
                
> XPath Failure 
> --------------
>
>                 Key: ODE-944
>                 URL: https://issues.apache.org/jira/browse/ODE-944
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.5
>         Environment: Windows 7, Tomcat 7
>            Reporter: Dieter Roller
>            Assignee: Tammo van Lessen
>
> The following code snippet results in a selection failure.
>  <assign name="B">
>         <copy>
>            <from>
>                <literal>
>                    <![CDATA[<Field>4711</Field>]]>
>                </literal>
>            </from>
>            <to variable="Output" part="message"/>
>         </copy>
>         <copy>
>            <from variable="Input" part="messageTwoFields">
>               <query>//Field1</query>
>            </from>
>            <to variable="Output" part="message">
>               <query>//Field</query>
>            </to>
>         </copy>
>     </assign>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira