Hi Thanks for the sample code. Yeah it smells like a bug in the tokenize xml you use in the splitter, feel free to log a JIRA ticket http://camel.apache.org/support
On Wed, Nov 6, 2013 at 8:56 AM, Cecilio Alvarez <cecilio.alva...@hotmail.com> wrote: > Hi, > > the input is: > > <BOOKS> > <LIBRARY name=Library1/> > <BOOK name=Book1/> <-----this kind of tag doesn't > work. > <BOOK name=Book2/> > </LIBRARY> > <LIBRARY name=Library2/> > <BOOK name=Book1></BOOK> <---this works. > <BOOK name=Book2></BOOK> > </LIBRARY> > </BOOKS> > > > The splitting route: > > <from uri="activemq:queue.TEST"/> > > <choice> > <when> > <xpath>/BOOKS</xpath> > <split streaming="true"> > <tokenize > token="LIBRARY" xml="true"/> > <to > uri="activemq:example.LIBRARY"/> > </split> > </when> > <otherwise> > <log message="Not a Books xml."/> > </otherwise> > </choice> > </route> > > Thanks! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-2-12-1-org-xml-sax-SAXParseException-tp5742659p5742690.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen