This is documented in the MarkLogic Server XQuery Reference Guide (http://developer.marklogic.com/pubs/4.1/books/xquery.pdf). In the "Implementation-Defined Semantics" section, see section 3.9.6 on page 20, entitled "Library Modules Default Function Namespace Defaults to Library Namespace".
-Danny -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Florent Georges Sent: Sunday, December 06, 2009 7:11 AM To: General Mark Logic Developer Discussion Subject: Re: [MarkLogic Dev General] Initial value of the default function namespace G. Ken Holman wrote: > In Mark Logic, the default function namespace for a library > module is the library module's namespace. Thanks, that's what I was looking for. A bit unexpected to have a different value for main modules and library modules, but that's still consistent. Do you have any pointer into the ML documentation? > > I haven't found the initial value of this static context > > component in the documentation. Any pointer? > I've looked this up and in XQuery section C.1 it states that an > implementation is allowed to overwrite the default function > namespace as a default. Yes, I know that ;-) But I was looking for the definition of the initial value in the ML implementation. Regards, -- Florent Georges http://www.fgeorges.org/ _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
