Hi,

  I got an error message I don't understand regarding the
error() function not existing.  I put the following in the
file <marklogic>/Modules/test-error.xq:

    xquery version "1.0";
    module namespace t = "http://test.com";;
    declare function t:fun() {
       error((), 'bla bla')
    };

and run the following through CQ:

    xquery version "1.0";
    import module namespace t = "http://test.com";
       at "/test-error.xq";
    t:fun()

  I get the following error:

    query evaluated in Documents at file::Docs/ as 1.0 (cq v4.0-3)

    [1.0] XDMP-UNDFUN: (err:XPST0017) Undefined function error()

    Stack trace:

    in /test-error.xq line 5:
    xdmp:eval("xquery ve [...]

  Thanks in advance.  Regards,

-- 
Florent Georges
http://www.fgeorges.org/





















_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to