AnsweredAssumed Answered

Extension element and CDATA text

Question asked by wilco on Mar 8, 2014
Latest reply on Mar 10, 2014 by frederikheremans1
Hi!
I'm heavily using ExtensionsElement elements in the workflow configuration to include custom configuration code:

<userTask id="writeReportTask" name="writeReportTask" activiti:formKey="com.bla">
  <extensionElements>
    <miriam:extension>
      <miriam:configuration name="dataConsumesTag" value="writeReportTask_consumesTag" />
      <miriam:configuration name="dataProducesFilename">
          test:<![CDATA[cdataText]]>
      </miriam:configuration>
    </miriam:extension>
  </extensionElements>
</userTask>


This works quite well using the ExtensionElement API in 5.14. But the field named "dataProducesFilename" above contains a CDATA field as element text which is not available via the API. In the case above only the string "test:" is returned by the getElementText() method and the CDATA string is missing completly. How can I get the CDATA value? Or is it a bug?

Thanks! Wilco

Outcomes