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

Reconsider default for xslt:allowStAX

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.RC2, 3.0.0
    • Component/s: camel-xslt
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: