You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/09/19 18:59:09 UTC
[jira] [Updated] (CAMEL-4285) Imported Xquery modules will not
resolve using classpath
[ https://issues.apache.org/jira/browse/CAMEL-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated CAMEL-4285:
-------------------------------
Fix Version/s: 2.8.2
> Imported Xquery modules will not resolve using classpath
> --------------------------------------------------------
>
> Key: CAMEL-4285
> URL: https://issues.apache.org/jira/browse/CAMEL-4285
> Project: Camel
> Issue Type: Improvement
> Components: camel-saxon
> Affects Versions: 2.8.0
> Environment: All
> Reporter: Jay mann
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.8.2, 2.9.0
>
> Attachments: camel-saxon.patch
>
>
> When using an xquery endpoint that uses an xquery file like this:
> <camel:to uri="xquery:com/test/xquery/manual.xq"/>
> If the manual.xq file contains imported modules such as:
> import module namespace utils = "myutils" at "classpath:/com/test/utils.xq";
> they will not resolve relative to the classpath.
> This is a big problem when using OSGI or any other situation where your Xquery files are inside your package/jar.
> I've created a patch so that it will resolve the imports in the same way that the component resolves resources using resolveMandatoryResource.
> I've tested the patch successfully using "classpath:/", "file://", and "http://" uri formats.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira