I use split with tokenize to split a xml file based on a tag also a xpath
expression to get a particular attributes value.
When i give a malformed xml like a missing tag closure as :
<parent><child></child<parent> it raises a XPathExpressionException,
while i have a xml as : <parent><child></child></child><parent> it doesn't
complain it as malformed.
/ <split strategyRef="splitXmlAggregator"
stopOnException="true">
<tokenize token="Record" xml="true" />
<setHeader headerName="Id">
<xpath
resultType="java.lang.String">/parent/child@value</xpath>
</setHeader>
</split>/
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-split-tokenizer-does-not-identify-malformed-xml-tp5756111.html
Sent from the Camel - Users mailing list archive at Nabble.com.