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

Reply via email to