You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/08/07 01:17:47 UTC

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

     [ https://issues.apache.org/jira/browse/CAMEL-6607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-6607.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.12.0
                   2.11.2
                   2.10.7

Applied the patch into master, camel-2.11.x and camel-2.10.x branches.
                
> 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
>            Assignee: Willem Jiang
>             Fix For: 2.10.7, 2.11.2, 2.12.0
>
>         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