[jira] [Updated] (NIFI-9832) XMLReader: XML element's content disappears if the element has attribute

2022-04-12 Thread Joe Witt (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-9832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-9832:
---
Fix Version/s: 1.16.1

> XMLReader: XML element's content disappears if the element has attribute
> 
>
> Key: NIFI-9832
> URL: https://issues.apache.org/jira/browse/NIFI-9832
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Reporter: Peter Gyori
>Assignee: Peter Gyori
>Priority: Major
>  Labels: reader, xml
> Fix For: 1.17.0, 1.16.1
>
>  Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> Let's use a ConvertRecord processor with an XMLReader and an 
> XMLRecordSetWriter to process XML documents.
> XMLReader controller service settings:
>  * Schema Access Strategy: Infer Schema
>  * Expect Records as Array: false
> XMLRecordSetWriter controller service settings:
>  * Schema Access Strategy: Inherit Record Schema
> ConvertRecord processor settings:
>  * Record Reader: XMLReader
>  * Record Writer: XMLRecordSetWriter
> Input data:
> {code:java}
> 
>   123
>   Apache NiFi
>  {code}
> Output:
> {code:java}
> 
>   123
>   
>     true
>     
>   
>   
>  {code}
> The value "Apache NiFi" is lost.
> (The issue of the additional "favorite" xml element is covered in 
> https://issues.apache.org/jira/browse/NIFI-9831)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (NIFI-9832) XMLReader: XML element's content disappears if the element has attribute

2022-04-12 Thread Mark Payne (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-9832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Payne updated NIFI-9832:
-
Fix Version/s: 1.17.0
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> XMLReader: XML element's content disappears if the element has attribute
> 
>
> Key: NIFI-9832
> URL: https://issues.apache.org/jira/browse/NIFI-9832
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Reporter: Peter Gyori
>Assignee: Peter Gyori
>Priority: Major
>  Labels: reader, xml
> Fix For: 1.17.0
>
>  Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> Let's use a ConvertRecord processor with an XMLReader and an 
> XMLRecordSetWriter to process XML documents.
> XMLReader controller service settings:
>  * Schema Access Strategy: Infer Schema
>  * Expect Records as Array: false
> XMLRecordSetWriter controller service settings:
>  * Schema Access Strategy: Inherit Record Schema
> ConvertRecord processor settings:
>  * Record Reader: XMLReader
>  * Record Writer: XMLRecordSetWriter
> Input data:
> {code:java}
> 
>   123
>   Apache NiFi
>  {code}
> Output:
> {code:java}
> 
>   123
>   
>     true
>     
>   
>   
>  {code}
> The value "Apache NiFi" is lost.
> (The issue of the additional "favorite" xml element is covered in 
> https://issues.apache.org/jira/browse/NIFI-9831)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (NIFI-9832) XMLReader: XML element's content disappears if the element has attribute

2022-03-24 Thread Peter Gyori (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-9832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Gyori updated NIFI-9832:
--
Status: Patch Available  (was: In Progress)

> XMLReader: XML element's content disappears if the element has attribute
> 
>
> Key: NIFI-9832
> URL: https://issues.apache.org/jira/browse/NIFI-9832
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Reporter: Peter Gyori
>Assignee: Peter Gyori
>Priority: Major
>  Labels: reader, xml
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Let's use a ConvertRecord processor with an XMLReader and an 
> XMLRecordSetWriter to process XML documents.
> XMLReader controller service settings:
>  * Schema Access Strategy: Infer Schema
>  * Expect Records as Array: false
> XMLRecordSetWriter controller service settings:
>  * Schema Access Strategy: Inherit Record Schema
> ConvertRecord processor settings:
>  * Record Reader: XMLReader
>  * Record Writer: XMLRecordSetWriter
> Input data:
> {code:java}
> 
>   123
>   Apache NiFi
>  {code}
> Output:
> {code:java}
> 
>   123
>   
>     true
>     
>   
>   
>  {code}
> The value "Apache NiFi" is lost.
> (The issue of the additional "favorite" xml element is covered in 
> https://issues.apache.org/jira/browse/NIFI-9831)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)