[ 
https://issues.apache.org/jira/browse/NIFI-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15111415#comment-15111415
 ] 

ASF GitHub Bot commented on NIFI-1421:
--------------------------------------

GitHub user rpmiskin opened a pull request:

    https://github.com/apache/nifi/pull/184

    NIFI-1421 Update SplitXML to support namespace declarations

    I've done a fairly minimal update to SplitXML to correctly support 
namespace declarations.
    
    Let me know if I've missed anything.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rpmiskin/nifi NIFI-1421

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/184.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #184
    
----
commit 68a9375f3e22109c68d048748c66228de7a8b4c4
Author: Richard Miskin <[email protected]>
Date:   2016-01-21T20:35:44Z

    NIFI-1421 Update SplitXML to support namespace declarations

----


> 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)

Reply via email to