You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by waterback <ma...@innoq.com> on 2014/04/15 11:57:52 UTC
Re: [jira] [Resolved] (CAMEL-4579) Add option on XSLT to allow StAX
Hi,
what if... the error of this comes out of the blue again, since using Camel
2.13.
It doesn't matter, if I "allowStAX" or not.
I have a simple xslt-endpoint which worked before with an "older"
Camel-Version 2.12.2. I also needed to update jaxen from 1.1 to 1.1.6 out of
a dependency-issue with the 2.13.
Can anyone help me, please?
Thx,
Martin
JIRA jira@apache.org wrote
> [
> https://issues.apache.org/jira/browse/CAMEL-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
>
> Claus Ibsen resolved CAMEL-4579.
> --------------------------------
>
> Resolution: Fixed
>
>> Add option on XSLT to allow StAX
>> --------------------------------
>>
>> Key: CAMEL-4579
>> URL: https://issues.apache.org/jira/browse/CAMEL-4579
>> Project: Camel
>> Issue Type: Improvement
>> Components: camel-core
>> Reporter: Claus Ibsen
>> Assignee: Claus Ibsen
>> Fix For: 2.9.0
>>
>>
>> With the new StAX converters you may convert to a StAXSource which is not
>> supported by the XSLT transformer, and you get this exception
>> Caused by: org.apache.xml.dtm.DTMException: Not supported:
>> javax.xml.transform.stax.StAXSource@14d556e
>> at
>> org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:477)
>> at
>> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:699)
>> at
>> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1273)
>> at
>> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1251)
>> at
>> org.apache.camel.builder.xml.XsltBuilder.process(XsltBuilder.java:107)
>> We should add option on XSLT component to explicit enable StAX if the end
>> user wants it.
> ...
--
View this message in context: http://camel.465427.n5.nabble.com/jira-Created-CAMEL-4579-Add-option-on-XSLT-to-allow-StAX-tp4936010p5750235.html
Sent from the Camel Development mailing list archive at Nabble.com.