You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Sathwik Bantwal Premakumar (JIRA)" <ji...@apache.org> on 2013/05/10 14:11:16 UTC

[jira] [Resolved] (ODE-992) Compiler should accept CDATA sections in propertyAlias/query expressions

     [ https://issues.apache.org/jira/browse/ODE-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sathwik Bantwal Premakumar resolved ODE-992.
--------------------------------------------

    Resolution: Fixed

Committed in branches ode-1.3.6.x and master
                
> Compiler should accept CDATA sections in propertyAlias/query expressions
> ------------------------------------------------------------------------
>
>                 Key: ODE-992
>                 URL: https://issues.apache.org/jira/browse/ODE-992
>             Project: ODE
>          Issue Type: Improvement
>          Components: BPEL Compilation/Parsing
>    Affects Versions: 1.3.5
>         Environment: vagrant@precise32:~$ uname -a
> Linux precise32 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012 i686 i686 i386 GNU/Linux
> vagrant@precise32:~$ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=12.04
> DISTRIB_CODENAME=precise
> DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"
>            Reporter: Stan Angeloff
>            Assignee: Sathwik Bantwal Premakumar
>            Priority: Minor
>             Fix For: 1.3.6
>
>
> Given this WSDL definition:
> {code:xml}
>   <vprop:property name="greetCorrelationProperty" type="xsd:string" />
>   <vprop:propertyAlias
>     propertyName="greet:greetCorrelationProperty"
>     messageType="greet:greetMessage"
>     part="parameters">
>     <vprop:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"><![CDATA[personName]]></vprop:query>
>   </vprop:propertyAlias>
> {code}
> The compiler throws up an error:
> {code}
> java org.apache.ode.tools.bpelc.cline.BpelC: file:/vagrant/src/processes/Greet/Greet.wsdl:-1: error: [UnexpectedNodeTypeForXPath] The XPath node with value "personName" was not a text node.
> {code}
> This looks to be because a CDATA node is not a TEXT_NODE which is what is expected.

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