[ 
https://issues.apache.org/jira/browse/CAMEL-6004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562037#comment-13562037
 ] 

Greg Heidorn commented on CAMEL-6004:
-------------------------------------

I swapped tokenizeXML for XPath and it worked well as expected.  Christian's 
memory concern is valid, however, in my case, it is an acceptable risk (I don't 
expect very large files).  I would, however, like to still see tokenizeXML 
operate on both tokens with closing tags and tokens that are self-closing.  I 
will think about how to approach a patch proposal that meets that requirement.  
Willem, thanks for the reminder to xpath on split!
                
> Tokenize XML does not support self-closing XML tokens
> -----------------------------------------------------
>
>                 Key: CAMEL-6004
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6004
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.2
>            Reporter: Greg Heidorn
>            Assignee: Willem Jiang
>            Priority: Minor
>         Attachments: GenericTokenizeTest.java
>
>
> Tokenize creates non-well-formed XML when handling self-closing XML tokens.  
> Tokenize should support parsing tokens that are either have a closing tag or 
> are self-closing.

--
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