camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From weather99 <>
Subject RE: camel xslt 2.0 support
Date Tue, 26 Jun 2012 13:40:24 GMT
Thanks Claus.

I get the same problem in either Servicemix 4.4.1 or 4.4.2.
Remember that I can also get the same problem in standalone Camel, so you might want to take
a look at how it loads these classes.
I can have everything working fine in standalone Camel, running against the saxon9he.jar.
All I have to do is add xalan-2.7.1.jar to my build path, and I get the same problem – prolog
only in the output.
If I remove the xalan jar, everything works fine again.
In the case of Servicemix, xalan-2.7.1.jar is in the ./lib/endorsed directory, so it is loaded
on the bootclasspath ahead of everything else.
I’d like to just get rid of it, but it seems it was added there as a solution to some other

Best Regards,

From: Claus Ibsen-2 [via Camel] []
Sent: Sunday, June 24, 2012 3:49 AM
To: Fleishaker, Frank
Subject: Re: camel xslt 2.0 support


You can try upgrading SMX.

On Fri, Jun 22, 2012 at 6:46 PM, weather99 <[hidden email]</user/SendEmail.jtp?type=node&node=5714977&i=0>>

> I tried installing camel-saxon but got the same results.
> I made the following change to ./etc/
> #javax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
> javax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl
> This also had no effect.  I'm still at the same place.  My camel xslt 2.0
> transform returns prolog only.  When using a bean xslt 2.0 transformer the
> bean returns errors for xslt 2.0 tags.  Removing the xalan-2.7.1.jar from
> ./ib/endorsed causes my route to fail to load.
> I have no problem getting this to work in standalone Camel.  I have been
> able to duplicate the problem in standalone Camel by putting a xalan jar
> file on my classpath.  In that case, the Camel xslt transformer gives me a
> prolog only.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Email: [hidden email]</user/SendEmail.jtp?type=node&node=5714977&i=1>
Twitter: davsclaus, fusenews
Author of Camel in Action:

If you reply to this email, your message will be added to the discussion below:
To unsubscribe from camel xslt 2.0 support, click here<>.

View this message in context:
Sent from the Camel - Users mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message