[ 
https://issues.apache.org/jira/browse/CAMEL-13795?focusedWorklogId=284268&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-284268
 ]

ASF GitHub Bot logged work on CAMEL-13795:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Jul/19 13:17
            Start Date: 29/Jul/19 13:17
    Worklog Time Spent: 10m 
      Work Description: drmaniac commented on pull request #3068: CAMEL-13795: 
Fixing the issue of already declared namespaces within the child
URL: https://github.com/apache/camel/pull/3068
 
 
   CAMEL-13795: Fixing the issue of already declared namespaces within the child
   I have also align the tests classes
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 284268)
            Time Spent: 10m
    Remaining Estimate: 0h

> 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: 2.21.5, 2.23.3, 2.22.5, 2.24.1, 3.0.0.M4
>            Reporter: Christian Pieczewski
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
>  If a sub-item also contains the default namespace definition the splitter 
> will duplicate it.
>  
> {code:java|title=route definition}
> from("file:target/pair?initialDelay=0&delay=10")
>                     // split the order child tags, and inherit namespaces 
> from the orders root tag
>                     .split().tokenizeXML("order", "orders")
>                         .to("mock:split");
> {code}
>  
>  
> {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