Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 040EA17429 for ; Fri, 10 Oct 2014 15:53:35 +0000 (UTC) Received: (qmail 96371 invoked by uid 500); 10 Oct 2014 15:53:34 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 96330 invoked by uid 500); 10 Oct 2014 15:53:34 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 96316 invoked by uid 99); 10 Oct 2014 15:53:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2014 15:53:34 +0000 Date: Fri, 10 Oct 2014 15:53:34 +0000 (UTC) From: "Willem Jiang (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-7891) SetMessageEmmiter addition not work with latest Saxon MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-7891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14167022#comment-14167022 ] Willem Jiang commented on CAMEL-7891: ------------------------------------- I got below compile error when update saxon to 9.6.0-1. {code} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project camel-saxon: Compilation failure: Compilation failure: [ERROR] /Users/jiangning/work/camel/git/camel/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/XQueryBuilder.java:[607,27] error: method setParameter in class DynamicQueryContext cannot be applied to given types; [ERROR] required: StructuredQName,Sequence [ERROR] found: String,Object [ERROR] reason: actual argument String cannot be converted to StructuredQName by method invocation conversion [ERROR] /Users/jiangning/work/camel/git/camel/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/XQueryBuilder.java:[610,27] error: method setParameter in class DynamicQueryContext cannot be applied to given types; [ERROR] required: StructuredQName,Sequence [ERROR] found: String,Exchange [ERROR] reason: actual argument String cannot be converted to StructuredQName by method invocation conversion [ERROR] /Users/jiangning/work/camel/git/camel/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/XQueryBuilder.java:[612,31] error: method setParameter in class DynamicQueryContext cannot be applied to given types; [ERROR] required: StructuredQName,Sequence [ERROR] found: String,Object [ERROR] reason: actual argument String cannot be converted to StructuredQName by method invocation conversion [ERROR] /Users/jiangning/work/camel/git/camel/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/XQueryBuilder.java:[624,31] error: method setParameter in class DynamicQueryContext cannot be applied to given types; [ERROR] required: StructuredQName,Sequence [ERROR] found: String,Object [ERROR] reason: actual argument String cannot be converted to StructuredQName by method invocation conversion [ERROR] /Users/jiangning/work/camel/git/camel/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/XQueryBuilder.java:[641,29] error: cannot find symbol {code} > SetMessageEmmiter addition not work with latest Saxon > ----------------------------------------------------- > > Key: CAMEL-7891 > URL: https://issues.apache.org/jira/browse/CAMEL-7891 > Project: Camel > Issue Type: Improvement > Components: camel-xslt > Affects Versions: 2.14.0 > Reporter: Mateusz Nowakowski > Assignee: Willem Jiang > > Saxon 9.6 introduces a couple of non-backward compatible changes: > - template.newTransformer() does not return net.sf.saxon.Controller anymore > so setting setMessageEmmiter won't work on the latest Saxon. > - DOMResult provided to transform method cannot have null node field > (current DomResultHandler won't work) that's backward compatibility change will be fixed : https://saxonica.plan.io/issues/2164 -- This message was sent by Atlassian JIRA (v6.3.4#6332)