Matt Burgess created NIFI-5187:
----------------------------------
Summary: Allow EvaluateXPath to return multiple results if
destination is FlowFile content
Key: NIFI-5187
URL: https://issues.apache.org/jira/browse/NIFI-5187
Project: Apache NiFi
Issue Type: Improvement
Components: Extensions
Reporter: Matt Burgess
EvaluateXPath currently expects a Nodeset to be returned from the XPath
expression if the destination is FlowFile content, but it also requires that
the Nodeset only have one element. Since the element is output as a string, it
could support Nodesets with multiple elements, using a newline as a delimiter
(and perhaps escaping any newlines in the elements' values if necessary), only
if the destination was FlowFile content.
This improvement would make it easier to prepare XML for use by a record
processor, for example.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)