I tried as you suggested, but still i get the same error,

<convertBodyTo type="String"/>
<xpath>/CamelData/Provider/text()</xpath>


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.dtm.ref.DTMManagerDefault cannot be cast to
org.apache.xml.dtm.DTMManager
        at org.apache.xml.dtm.DTMManager.newInstance(DTMManager.java:137)
[xalan.jar:]
        at org.apache.xpath.XPathContext.<init>(XPathContext.java:102) 
[xalan.jar:]
        at org.apache.xpath.XPathContext.<init>(XPathContext.java:349) 
[xalan.jar:]
        at
org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:113)
        at
org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:99)

Is there something that am missing?

Thanks,
Anish




--
View this message in context: 
http://camel.465427.n5.nabble.com/Parsing-a-XML-in-DSL-tp5770368p5770391.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to