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

SplitXML produces invalid XML for source containing namespace declarations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4.1
    • 0.5.0
    • Core Framework
    • None

    Description

      The SplitXML processor ignores namespace declarations which means the generated XML is invalid for examples like this:

      <?xml version="1.0" encoding="UTF-8"?>
      <bundle xmlns:foo="http://namespace/1">
          <node>
              <foo:subNode1 attribute="d&amp;b">
                  <value>Hello &amp; Goodbye</value>
              </foo:subNode1>
              <foo:subNode2 xmlns:goo="http://namespace/2">
                  <goo:value>World</goo:value>
              </foo:subNode2>
          </node>
      </bundle>
      

      Attachments

        Activity

          People

            joewitt Joe Witt
            rpmiskin Richard Miskin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: