There are some security issue in xslt which is related the java function calls. We just disable the feature by default, if you still want to use that feature, you can pass transformer yourself to the route.
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On May 21, 2014 at 10:23:23 PM, Reji Mathews ([email protected]) wrote: > Hi Williem > > I have referred to the file using a disk file path. > > The transformation works fine when am not using the java functions. But if > xslt has java function calls , a run time exception is raised . > Same works fine in maven stand alone > > Reji > On 21/05/2014 7:49 pm, "Willem Jiang" wrote: > > > How did you define the resource file? > > Did you put the xslt file inside the application bundle? > > > > -- > > Willem Jiang > > > > Red Hat, Inc. > > Web: http://www.redhat.com > > Blog: http://willemjiang.blogspot.com (English) > > http://jnn.iteye.com (Chinese) > > Twitter: willemjiang > > Weibo: 姜宁willem > > > > > > > > On May 21, 2014 at 9:11:55 PM, contactreji ([email protected]) wrote: > > > Hi > > > > > > I am trying to call some Java logic from the XSL file. The java code is > > > already in the classpath. > > > > > > It runs fine while running in maven using the maven:run command. But when > > > deployed into Fuse, it doesn't work. It throws run time exceptions. > > > > > > Can someone suggest how to get those advanced XSLT features get to work > > in > > > camel projects when deployed to the Jboss Fuse. > > > > > > Cheers > > > Reji > > > > > > > > > > > > -- > > > View this message in context: > > http://camel.465427.n5.nabble.com/Java-in-XSLT-Issue-tp5751425.html > > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > > > > >
