You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Per Jørgen Walstrøm (JIRA)" <ji...@apache.org> on 2013/08/05 16:12:47 UTC

[jira] [Created] (CAMEL-6607) Tokenize XML does not support child elements with names similar to their parent

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