[oXygen-user] Locating modules for MarkLogic on app server

Florent Georges
Thu Nov 19 07:13:51 CST 2009


Lee, David wrote:

  Hi,

> import module
> namespace common = "http://schemas.epocrates.com/schemas/marklogic/common"
>    at "common.xquery" ;

> Is there a way to tell Oxygen to somehow tell marklogic
> where this common module resides so it would behave the
> same as if it were executed from the App server ? 

  That's the problem of using "at hints" instead of using only the namespace URIs and relying on a resolving mechanism.  Hope EXPath packaging would help improving this situation ;-)

  If you can access the module as a resource on the ML HTTP server, you should be able to use an XML Catalog mapping "common.xquery" to that location (for instance http://the-ml-server/dir/common.xql). (not tested though)

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/
























      




More information about the oXygen-user mailing list