Per Jørgen Walstrøm created CAMEL-6607:
------------------------------------------

             Summary: Tokenize XML does not support child elements with names 
similar to their parent
                 Key: CAMEL-6607
                 URL: https://issues.apache.org/jira/browse/CAMEL-6607
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.11.1
            Reporter: Per Jørgen Walstrøm
         Attachments: TokenizerTest.java

This XML will not split on Trip, as Trip has a child which starts with Trip
<Trip>
<Triptype>
</Triptype>
</Trip>

The bug was introduced in https://issues.apache.org/jira/browse/CAMEL-6004
I believe the regex in TokenXMLExpressionIterator needs to be fixed

see enclosed test

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to