[
https://issues.apache.org/jira/browse/CAMEL-6607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730402#comment-13730402
]
Willem Jiang commented on CAMEL-6607:
-------------------------------------
Yeah, it's a bug of SCAN_BLOCK_TOKEN_REGEX_TEMPLATE, it should make sure it
skip the validate xml token.
I will commit the code after running the whole tests.
> 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
> 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