Correcting the capability description which states that the property is ignored when destination is flowfile attribute instead of content. This closes NIFI-356.
Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/24be4a1d Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/24be4a1d Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/24be4a1d Branch: refs/heads/NIFI-250 Commit: 24be4a1dfdd1dd513e39915c5db8939d4806cdd8 Parents: b8ade5b Author: Aldrin Piri <[email protected]> Authored: Tue Feb 17 00:20:23 2015 -0500 Committer: Aldrin Piri <[email protected]> Committed: Tue Feb 17 00:20:23 2015 -0500 ---------------------------------------------------------------------- .../java/org/apache/nifi/processors/standard/EvaluateXPath.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/24be4a1d/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateXPath.java ---------------------------------------------------------------------- diff --git a/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateXPath.java b/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateXPath.java index 4827ee3..f4d2d34 100644 --- a/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateXPath.java +++ b/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateXPath.java @@ -84,7 +84,7 @@ import org.xml.sax.InputSource; @CapabilityDescription("Evaluates one or more XPaths against the content of a FlowFile. The results of those XPaths are assigned to " + "FlowFile Attributes or are written to the content of the FlowFile itself, depending on configuration of the " + "Processor. XPaths are entered by adding user-defined properties; the name of the property maps to the Attribute " - + "Name into which the result will be placed (if the Destination is flowfile-content; otherwise, the property name is ignored). " + + "Name into which the result will be placed (if the Destination is flowfile-attribute; otherwise, the property name is ignored). " + "The value of the property must be a valid XPath expression. If the XPath evaluates to more than one node and the Return Type is " + "set to 'nodeset' (either directly, or via 'auto-detect' with a Destination of " + "'flowfile-content', the FlowFile will be unmodified and will be routed to failure. If the XPath does not "
