You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2018/12/17 12:36:00 UTC

[jira] [Commented] (CAMEL-12994) xquery syntax problem in SpringDSL with spring-boot

    [ https://issues.apache.org/jira/browse/CAMEL-12994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722945#comment-16722945 ] 

Claus Ibsen commented on CAMEL-12994:
-------------------------------------

We need to skip some specific xml prefixes according to the query spec which Saxon now complains about
https://www.w3.org/TR/xquery-31/#id-namespace-declaration

> xquery syntax problem in SpringDSL with spring-boot
> ---------------------------------------------------
>
>                 Key: CAMEL-12994
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12994
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-saxon
>    Affects Versions: 2.21.0, 2.22.0
>            Reporter: W.Y
>            Assignee: Claus Ibsen
>            Priority: Minor
>         Attachments: XqueryTest.zip
>
>
> this JAVADSL sytnax does not exist / supported in SpringDSL 
> setHeader("myHeader").xquery("resource:classpath:myxquery.txt", String.class)
> It will cause the problem if return type is String instead of DomReulst or xmlString for xquery, when we use SpringDSL instead of JAVADSL
>  we tried all version >= 2.22, same problem 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)