Unable to assign static XML in OSB 12.1.3 using the fn:doc function

(Doc ID 2069707.1)

Last updated on NOVEMBER 16, 2015

Applies to:

Oracle Service Bus - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Goal

After migrating from OSB 11g to 12.1.3 assignment is failing with the fn:doc function.

If you use function fn:doc("file://domainName.xml") with XQuery version 2004 there is no problem.

But when you upgrade it to XQuery version 1.0 it is throwing an exception:

Error executing the transformation: {http://www.w3.org/2005/xqt-errors}FODC0002: Error retrieving resource "file://domainName.xml":

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms