ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ODE-992) Compiler should accept CDATA sections in propertyAlias/query expressions
Date Fri, 10 May 2013 10:47:16 GMT

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

Hudson commented on ODE-992:
----------------------------

Integrated in ODE-1.x #171 (See [https://builds.apache.org/job/ODE-1.x/171/])
    ODE-992: Added support for specifying xpath expression within CDATA section for propertyAlias/query
(Revision 2f2c7b562a888808f8ef0a704b7594d445b6ed40)

     Result = FAILURE
sathwik : 
Files : 
* axis2-war/src/test/resources/TestCorrelationJoin/CorrelationMultiTest.wsdl
* bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/Expression.java
* bpel-compiler/src/main/java/org/apache/ode/bpel/elang/xpath20/compiler/XPath20ExpressionCompilerImpl.java

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

Mime
View raw message