I'm trying to import the Zorba util-functions in a XQuery script but if I compile the script I get a StaticException which says "Function prefix is in unallocated namespace". I use the XQJ API to compile it and this is how I import the util-functions:
Hello,
I'm trying to import the Zorba util-functions in a XQuery script but if I compile the script I get a StaticException which says "Function prefix is in unallocated namespace". I use the XQJ API to compile it and this is how I import the util-functions:
import module namespace fn-zorba-util = "http://www.zorba-xquery.com/zorba/util-functions";
(…)
Any ideas?
Thanks a lot!
Jens
Problem is solved in trunk, added a similar test case in SVN revision 4287