Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9DAA97A2 for ; Tue, 25 Oct 2011 12:24:54 +0000 (UTC) Received: (qmail 6224 invoked by uid 500); 25 Oct 2011 12:24:54 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 6191 invoked by uid 500); 25 Oct 2011 12:24:54 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 6182 invoked by uid 99); 25 Oct 2011 12:24:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 12:24:54 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 12:24:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1274931A893 for ; Tue, 25 Oct 2011 12:22:32 +0000 (UTC) Date: Tue, 25 Oct 2011 12:22:32 +0000 (UTC) From: "Claus Ibsen (Created) (JIRA)" To: dev@camel.apache.org Message-ID: <463695692.13004.1319545352077.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CAMEL-4579) Add option on XSLT to allow StAX MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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