Re: Parsing a XML in DSL

2015-08-09 Thread Christian Müller
You should use Saxon for many reasons... I suggest adding the camel-saxon dependency and use: /CamelData/Provider/text() Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Mem

Re: Parsing a XML in DSL

2015-08-07 Thread anish.somadevan
I was able to resolve it by uploading a new version of xalan jar Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Parsing-a-XML-in-DSL-tp5770368p5770445.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Parsing a XML in DSL

2015-08-06 Thread anish.somadevan
I tried as you suggested, but still i get the same error, /CamelData/Provider/text() Exhausted after delivery attempt: 1 caught: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager: java.lang.ClassCastException: org.apache.xml.d

Re: Parsing a XML in DSL

2015-08-06 Thread Gnanaguru S
Looks like your message is not in the expected format. Add a convertBodyTo String before xpath. It should work. -- View this message in context: http://camel.465427.n5.nabble.com/Parsing-a-XML-in-DSL-tp5770368p5770375.html Sent from the Camel - Users mailing list archive at Nabble.com.