[
https://issues.apache.org/jira/browse/ODE-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13653757#comment-13653757
]
Hudson commented on ODE-992:
----------------------------
Integrated in ODE-trunk-jdk6 #470 (See
[https://builds.apache.org/job/ODE-trunk-jdk6/470/])
ODE-992: Added support for specifying xpath expression within CDATA section
for propertyAlias/query (Revision 79f121f3b2d0224c35910fbf306609ebeb6b87b2)
Result = FAILURE
sathwik :
Files :
*
bpel-compiler/src/main/java/org/apache/ode/bpel/elang/xpath20/compiler/XPath20ExpressionCompilerImpl.java
* axis2-war/src/test/resources/TestCorrelationJoin/CorrelationMultiTest.wsdl
* bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/Expression.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