- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How does EvaluateXPath processor in NIFI use XPaths in its configuration?
- Labels:
-
Apache NiFi
Created on ‎09-02-2018 11:13 AM - edited ‎08-18-2019 02:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have found that valid XPath expressions apparently produce empty strings in EvaluateXPath processor. In the attached screenshots only //@categoryId and //@UniqueType seem to work. I am using nifi 1.7.1 and jdk1.8.0_181.jdk. Any help would be appreciated!
Created ‎09-03-2018 04:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The source of the XML files is a GetFile Processor or a GenrateFlowFile Processor.
I have also tested it with an InvokeHTTP processor where it works fine. However this does not solve it for me as I am dealing with physical XML files here. However this little detail might be interesting for the error finding process.
