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

SplitXML produces invalid XML for source containing namespace declarations

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.1
    • Fix Version/s: 0.5.0
    • Component/s: Core Framework
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: