[ https://issues.apache.org/jira/browse/NIFI-4185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16403399#comment-16403399 ]
Johannes Peter commented on NIFI-4185: -------------------------------------- Hi [~pvillard], for this reader I have not planned to require an XSD schema. My intention is that it can be configured in the same way like readers of other formats. I therefore translate Avro definitions to XML structures that are expected by the reader. Generally, the reader expects an array containing zero, one or more records. I use StAX as its pulling logic suits well to the record-lookup requirement. BTW: Do you have an idea which XML structure the reader could expect when users define a map in their schema? Maybe something like this? {code} <root> <record> <mapfield> <entry> <key>content</key> <value>content or object</value> </entry> <entry> ... <mapfield/> <record/> </root> {code} > Add XML record reader & writer services > --------------------------------------- > > Key: NIFI-4185 > URL: https://issues.apache.org/jira/browse/NIFI-4185 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions > Affects Versions: 1.3.0 > Reporter: Andy LoPresto > Assignee: Johannes Peter > Priority: Major > Labels: json, records, xml > > With the addition of the {{RecordReader}} and {{RecordSetWriter}} paradigm, > XML conversion has not yet been targeted. This will replace the previous > ticket for XML to JSON conversion. -- This message was sent by Atlassian JIRA (v7.6.3#76005)