[ 
https://issues.apache.org/jira/browse/CAMEL-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-4579:
-------------------------------

    Affects Version/s: 2.8.2
        Fix Version/s: 2.8.3
           Issue Type: Bug  (was: Improvement)

This also fixes a bug in 2.8.2 where you may see this exception.
                
> Add option on XSLT to allow StAX
> --------------------------------
>
>                 Key: CAMEL-4579
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4579
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.2
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.3, 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to