Hi,
  I'm using servicemix 3.3 with camel 2.2. I included in maven pom.xml
the saxon 9.1.0.8 dependencies. The
 camel service unit now contains the lib\saxon-9.1.0.8.jar.

But I get the same error message during deployment.

 But I have in servicemix/lib the xalan-2.7.0.jar which seems to be a
XSLT 1.0 processor. Could be happen that
 servicemix is using xalan instead of saxon currently included in
camel service unit???

Thanks,


On Thu, Jan 6, 2011 at 9:25 PM, Mark Ford <[email protected]> wrote:
> Are you using XSLT 2.0? If so, you should verify that you have an XSLT
> 2.0 capable library in your classpath. Perhaps when you're using the
> endpoint within JBI there is a 2.0 capable API in the classpath.
>
> If you're using Maven, then add the following:
>
>      <dependency>
>        <groupId>net.sourceforge.saxon</groupId>
>        <artifactId>saxon</artifactId>
>        <version>9.1.0.8</version>
>      </dependency>
>      <dependency>
>        <groupId>net.sourceforge.saxon</groupId>
>        <artifactId>saxon</artifactId>
>        <version>9.1.0.8</version>
>        <classifier>dom</classifier>
>      </dependency>
>
> If not, then download a recent version of saxon and try it.
>
>
> On Thu, Jan 6, 2011 at 7:39 AM, Kovacs Zsolt <[email protected]> wrote:
>> Hi,
>>
>>  I have a camel endpoint .to("xslt:xslt/transformer.xsl") and in the
>> transformer.xml file I try to use
>>  <xsl:variable name="now" select="current-dateTime()"/>
>>  but deployment failed  and get the "Error creating XSLT template.
>> This is most likely be caused by a XML parse error. Please verify your
>> XSLT file configured."
>>  message.
>>
>>  I guess the problem is probably caused by the parser used by Camel
>> because when I using as jbi endpoint there are no issues.
>>  Can I change the Camel XML parser ?
>>
>> Thanks,
>> Zsolt
>>
>

Reply via email to