For my transformation i'm using org.apache.xmlbeans
(xmlObject.execQuery(xqueryFileContent, options);
)
Now I come up with an issue that somehow fn-bea functions are not working:
in this example: fn-bea:uuid()
The stacktrace:
Caused by: weblogic.xml.query.exceptions.XQueryStaticException: line 15, column 18: {err}XQ0017: "{http://www.bea.com/xquery/xquery-functions}uuid": unknown function (or number of arguments (0) is wrong)
I've read a thread where they say it's not supported, but this isn't satisfying.
How can I grant my java processor access to the bea functions?
EDIT: The XQuery at line 15:
<bp-id>{replace(fn-bea:uuid(), '-', '')}</bp-id>
the declaration:
declare namespace fn-bea ="http://www.bea.com/xquery/xquery-functions";