I tracked the code back to the TokenXMLPairExpressionIterator, which as the name indicates, doesn't check to see if the token is self-closing. I'm going to open a JIRA Issue to see if we can build in support for self-closing XML tokens. I'll see if I can submit a patch for review today.
-- View this message in context: http://camel.465427.n5.nabble.com/Tokenize-Producing-XML-That-is-Not-Well-Formed-tp5726035p5726079.html Sent from the Camel - Users mailing list archive at Nabble.com.