And if you decide you want to use it in a module, you can still do so in 1.0 by enabling it in the prolog as in the following example (in 1.0, you also have to declare the xdmp namespace). If is disabled by default in 1.0 and enabled by default in 1.0-ml.
xquery version "1.0"; declare namespace xdmp="http://marklogic.com/xdmp"; declare option xdmp:mapping "true"; declare function local:hello($x as xs:string) as xs:string { $x }; local:hello(("hello", "there")) -Danny -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Florent Georges Sent: Thursday, November 06, 2008 12:09 PM To: Colleen Whitney; MarkLogic General ML Subject: Re: [MarkLogic Dev General] Empty argument fails silently? Colleen Whitney wrote: > Are you running into problems with it? Not at all, I use version "1.0". I was just wondering if I had missed something, because I didn't see the advantage regarding the drawbacks (and still haven't.) But at least it is in 1.0-ml, so I don't care. Thanks for your explanations. 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
