I wrote a short JUnit and found that if the tag has a closing tag, then the tokenizeXML works correctly. If the tag is self-closing, then tokenizeXML fails.
I have attached the JUnit and am currently walking the code to see if I can pinpoint the class that does the tokenizeXML to see if I can patch it to accept self-closing tags. GenericTokenizeTest.java <http://camel.465427.n5.nabble.com/file/n5726078/GenericTokenizeTest.java> -- View this message in context: http://camel.465427.n5.nabble.com/Tokenize-Producing-XML-That-is-Not-Well-Formed-tp5726035p5726078.html Sent from the Camel - Users mailing list archive at Nabble.com.