You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/05/09 17:59:00 UTC
[jira] [Commented] (NIFI-9918) XMLReader: XML attribute parsing should be optional, configurable
[ https://issues.apache.org/jira/browse/NIFI-9918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533931#comment-17533931 ]
ASF subversion and git services commented on NIFI-9918:
-------------------------------------------------------
Commit 45ba416d2a45fea1961be694bb6d00e59624b37b in nifi's branch refs/heads/support/nifi-1.16 from Peter Gyori
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=45ba416d2a ]
NIFI-9918: 'Parse XML Attributes' property added to XMLReader
NIFI-9918: Fixed review findings
NIFI-9918: Example added to XMLReader's additionalDetails.html on the new property. Minor documentation fixes.
Signed-off-by: Nathan Gough <th...@gmail.com>
This closes #5964.
> 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
> Fix For: 1.17.0
>
> Time Spent: 3h 50m
> 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.7#820007)