Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.3.5
-
None
-
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"
Description
Given this WSDL definition:
<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>
The compiler throws up an error:
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.
This looks to be because a CDATA node is not a TEXT_NODE which is what is expected.