Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13961

Reconsider default for xslt:allowStAX

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0.RC2, 3.0.0
    • camel-xslt
    • None
    • Unknown

    Description

      This is currently set to true. However, Xalan (which the default XSLT processor for most) cannot handle StAXSource

      Caused by: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: org.apache.xml.dtm.DTMException: Not supported: javax.xml.transform.stax.StAXSource@6a35603
      	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:642)
      	at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:303)
      	at org.apache.camel.component.xslt.XsltBuilder.process(XsltBuilder.java:132)
      	at org.apache.camel.support.ProcessorEndpoint.onExchange(ProcessorEndpoint.java:95)
      	at org.apache.camel.component.xslt.XsltEndpoint.onExchange(XsltEndpoint.java:121)
      
      

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            tdiesler Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: