The documentation shows that the result from xdmp:get-request-field returns a string or nothing, hence the * in "as string*". It is a thought, but it may be possible that the request field is returning nothing and that is why you may be getting false in both test cases.
Josh Ewell -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Florent Georges Sent: Wednesday, September 12, 2012 7:04 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] xdmp:get-request-field documentation Mihir Das wrote:] Hi, > xdmp:get-request-field returns the named request field as a string. Thank you. But I just tried and "instance of xs:string" returns false whilst "instance of binary()" returns false... So there is something wrong somewhere, either in the documentation or in the implementation, isn't it? Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
