From: Michael B. <mbe...@mb...> - 2005-05-25 16:55:35
|
> > I tried to execute xquery functions. Because I didn't succeed in writing > xqueries with parameters (and util:eval is too long), I decided to > generate my xquery with an xsl. > You mean you pass parameters into an xslt transform, which uses those parameters to "hard-code" an Xquery with the values you require, which you then pass to eXist to be executed, after which you again invoke another xslt transform on the XQuery result, but which terminates with an error, no matter what the content of that transform? If so, I assume we are talking about a Cocoon pipeline (since if you were building your XQueries in native Java, you wouldn't need XSLT to parameterise them). If so the problem may not actually be an eXist one. > It works well. Exist generates the result I want. But, when I want to > transform my xquery results, with a plain identity transformation, for > example, I get an error (java.lang.RuntimeException). I'm afraid that error tells us nothing at all. We need to see more of the stacktrace to know where the exception is happening. > If I delete the > identity tranformation, everything is ok :-( Do you actually mean delete the identity transformation from the xslt sheet, or do you mean if you don't invoke the xslt on the result set at at all? > I use 1.0b2-build-1107 > Pretty ancient stuff by now, but as I say this may not be an eXist problem as such. Michael Beddow |