Hello all,

I want to route a message with an RSS payload to a XQuery endpoint using a
route similar to this :
from("rss:http://feeds.feedburner.com/JavaCodeGeeks";).marshal().rss().to("xquery:com/jcg/test/mytransform.xquery").to("file://rss");

The XQuery transformation file "mytransform.xquery" must contain XQuery
functions like data(...) etc.

When I try to execute the route h get a "org.w3c.dom.DOMException:
HIERARCHY_REQUEST_ERR"

I have instructed the Camel XQuery page that specifically says : "You can
also use functions inside your query, in which case you need an explicit
type conversion (or you will get a org.w3c.dom.DOMException:
HIERARCHY_REQUEST_ERR) by passing the Class as a second argument to the
xquery() method"

But I am not using the xquery() function!!!

So my question is : How to use functions when using XQuery as an Endpoint in
camel?

BRs

--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-XQuery-Endpoint-route-with-XQuery-functions-problem-tp5122214p5122214.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to