[ 
https://issues.apache.org/jira/browse/NIFI-9918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17528481#comment-17528481
 ] 

ASF subversion and git services commented on NIFI-9918:
-------------------------------------------------------

Commit 6ee3d32ca3e5a901c65d05d1ec3b9fb186dce659 in nifi's branch 
refs/heads/main from Peter Gyori
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=6ee3d32ca3 ]

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 <[email protected]>

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
>          Time Spent: 3h 40m
>  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)

Reply via email to