首页 文章

在java xquery处理器中使用OSB功能bea

提问于
浏览
0

对于我的转型,我正在使用 org.apache.xmlbeans

xmlObject.execQuery(xqueryFileContent, options);

现在我想出了一个问题,某种程度上fn-bea函数不起作用:在这个例子中: fn-bea:uuid()

堆栈跟踪:

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)

我读过一个他们说它不受支持的帖子,但这并不令人满意 .

How can I grant my java processor access to the bea functions?

EDIT: 第15行的XQuery:

<bp-id>{replace(fn-bea:uuid(), '-', '')}</bp-id>

声明:

declare namespace fn-bea ="http://www.bea.com/xquery/xquery-functions";

1 回答

相关问题