You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Richard Miskin (JIRA)" <ji...@apache.org> on 2016/01/21 21:44:39 UTC

[jira] [Created] (NIFI-1421) SplitXML produces invalid XML for source containing namespace declarations

Richard Miskin created NIFI-1421:
------------------------------------

             Summary: SplitXML produces invalid XML for source containing namespace declarations
                 Key: NIFI-1421
                 URL: https://issues.apache.org/jira/browse/NIFI-1421
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 0.4.1
            Reporter: Richard Miskin


The SplitXML processor ignores namespace declarations which means the generated XML is invalid for examples like this:
{code:xml}
<?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>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)