[
https://issues.apache.org/jira/browse/NIFI-9918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Gyori updated NIFI-9918:
------------------------------
Status: Patch Available (was: In Progress)
> XMLReader: XML attribute parsing should be optional, configurable
> -----------------------------------------------------------------
>
> Key: NIFI-9918
> URL: https://issues.apache.org/jira/browse/NIFI-9918
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Extensions
> Reporter: Peter Gyori
> Assignee: Peter Gyori
> Priority: Major
> Labels: reader, xml
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In older versions of NiFi, XMLReader ignored XML attributes.
> Currently, XMLReader parses XML attributes and adds them to the record as a
> new field.
> This is not backward compatible with the previous behavior, and some users
> might experience that new fields appear in their records after upgrading NiFi
> - especially if they use schema inference with XML data.
> To introduce compatibility with the previous behavior, a new property should
> be added to XMLReader that makes it possible to turn off parsing XML
> attributes.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)