Github user ijokarumawak commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2080#discussion_r133137160
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateXPath.java
---
@@ -277,8 +316,9 @@ public void onTrigger(final ProcessContext context,
final ProcessSession session
@Override
public void process(final InputStream rawIn) throws
IOException {
try (final InputStream in = new
BufferedInputStream(rawIn)) {
- final List<Source> rootList = (List<Source>)
slashExpression.evaluate(new InputSource(in), NODESET);
- sourceRef.set(rootList.get(0));
+ final Document document=docBuilder.parse(in);
--- End diff --
White space.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---