Christian Pieczewski created CAMEL-13795:
--------------------------------------------

             Summary: TokenXMLExpressionIterator with inheritNamespaceToken 
creates duplicate default namespace definition
                 Key: CAMEL-13795
                 URL: https://issues.apache.org/jira/browse/CAMEL-13795
             Project: Camel
          Issue Type: Bug
          Components: came-core
    Affects Versions: 3.0.0.M4, 2.24.1, 2.22.5, 2.23.3, 2.21.5
            Reporter: Christian Pieczewski


 If a sub-item also contains the default namespace definition the splitter will 
duplicate it.
{code:xml|title=input}
<orders xmlns="http:acme.com"> 
 <order xmlns="http:acme.com" id="1">Camel in Action</order>
 <order id="2">ActiveMQ in Action</order>
 <order id="3">DSL in Action</order>
</orders>"
{code}
{code:xml|title=output[1]}
<order xmlns="http:acme.com" id="1" xmlns="http:acme.com">Camel in 
Action</order>
{code}
{code:xml|title=expected[1]}
 <order xmlns="http:acme.com" id="1">Camel in Action</order>
{code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to