Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7800

Provide an option to omit XML declaration for XMLRecordSetWriter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.13.0, 1.12.1
    • Extensions
    • None

    Description

      Currently XMLRecordSetWriter doesn't allow an output to omit XML declaration like how EvaluateXQuery provides. This improvement will be extremely helpful for downstream processors which handle splitting/merging of multiple flowfiles from many data-sources. Existing workaround is to use ReplaceText processor with First-Line as Line-by-Line-Evaluation-Mode to omit <?xml version="1.0" ?>. Enabling this option will avoid using extra ReplaceText. 

      Attachments

        Activity

          People

            naddym Nadeem
            naddym Nadeem
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 40m
                3h 40m