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 problem.
Best Regards, Frank From: Claus Ibsen-2 [via Camel] [mailto:ml-node+s465427n5714977...@n5.nabble.com] Sent: Sunday, June 24, 2012 3:49 AM To: Fleishaker, Frank Subject: Re: camel xslt 2.0 support Hi 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>> wrote: > I tried installing camel-saxon but got the same results. > > I made the following change to ./etc/system.properties: > #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: > http://camel.465427.n5.nabble.com/camel-xslt-2-0-support-tp5646214p5714932.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [hidden email]</user/SendEmail.jtp?type=node&node=5714977&i=1> Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen ________________________________ If you reply to this email, your message will be added to the discussion below: http://camel.465427.n5.nabble.com/camel-xslt-2-0-support-tp5646214p5714977.html To unsubscribe from camel xslt 2.0 support, click here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5646214&code=ZmZsZWlzaGFAaGFycmlzLmNvbXw1NjQ2MjE0fC0yNzQ2NjQ0MTQ=>. NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://camel.465427.n5.nabble.com/camel-xslt-2-0-support-tp5646214p5715118.html Sent from the Camel - Users mailing list archive at Nabble.com.