Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-992

Compiler should accept CDATA sections in propertyAlias/query expressions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.5
    • 1.3.6
    • None

    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.

      Attachments

        Activity

          People

            sathwik Sathwik
            stanangeloff Stan Angeloff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: