The path is relative to the application root. If your app is set to use C:/ as the root, then no change is needed for local. If you had your root set to C:/MyApp/ then you'd not have to change the import if you have C:/MyApp/lib/config.xqy. On Jun 3, 2011 2:38 PM, "Ankur Acharya" <[email protected]> wrote: > Disclaimer: This might be a very naive question to most of the readers. > > I'm trying to import a module using the following code: > > ... > import module namespace conf = "http://foo.com/lib/config" at > "/lib/config.xqy"; > ... > > > > When I copy it to the C:\ drive and rephrase the code to: > ... > import module namespace conf = "http://foo.com/lib/config" at > "C:/lib/config.xqy"; > ... > > I get an error saying: "1.0-ml] XDMP-IMPORTPATH: Invalid Module Import path: > C:\lib\config.xqy" > > I am unsure how the default path to /lib/config.xqy is set? I mean where on > my physical drive do I need to copy the config.xqy file? > > Thanks, > Ankur
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
