Hi ..!

I created search.xqy file which can be invoked using xdmp:invoke. When
I add the
stmt

module namespace loc = "http://htcinc.com/loc";;

I get the following error

XDMP-EVALLIBMOD: xdmp:invoke("search.xqy", (fn:QName("",
"input_parm"), 
"<root><file><path>C:\Pradeep\xml\a_and_c_wcpub_wip.xml</path><ur..."))
-- Cannot evaluate library module: /search.xqy

It works fine when I remove the module namespace stmt.
Can we not add namespace for this kind of xquery files?

One more problem I encountered is when I have an import module
statement and an external variable in this xqy file xdmp:invoke fails.
If I remove the external variable it works fine. Is this is a bug

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

Reply via email to