When I try to import this module I get an error "Every global variable in a module must be in the module namespace [err:XQST0048]." It is in fact in the correct module namespace, so I'm suspecting this is a bug. Is there a way to workaround it?
Subject:Bug using global variables in xquery module? Author:Jerry Beuree Date:26 May 2006 02:21 PM
Thanks for the quick response. DataDirect doesn't appear to support importing modules. Saxon works fine with the one exception that I can't seem to get Stylus Studio to let me set parameter values for the external variables in my xquery. It looks like it still uses the internal processor when displaying the Parameter Values tab of the scenario properties. Instead of showing my variables it gives me the "Every global variable in a module..." error again.