If I run the following code, my function is never called and no errors are
raised. Any ideas?


xquery version "1.0-ml";

declare function local:test($param1 as xs:string, $param2 as xs:string,
$param3 as xs:string) {
  fn:error()
};

let $var := xdmp:get-request-field("non-existent-param")

let $blah := local:test("", "", $var)

return "Function Call Successful"



Thanks,
Steve Spigarelli
_______________________________________________
General mailing list
General@developer.marklogic.com
http://xqzone.com/mailman/listinfo/general

Reply via email to