[ 
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.

--
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