OSB 12.1.3 - XQuery 1.0 DayTimeDuration function syntax error after converting from Xquery 2004 (Doc ID 2063112.1)

Last updated on OCTOBER 06, 2015

Applies to:

Oracle Service Bus - Version 12.1.3.0.0 and later
Information in this document applies to any platform.
After importing an 11g OSB project into JDeveloper (12.1.3) is is seeing the following error related to the use of the "dayTimeDuration" function.

Symptoms

Error in XQuery resource file after migration.

An error occurred compiling the XQuery resource: {http://www.w3.org/2005/xqt-errors}XPST0017: "{http://www.w3.org/2005/xpath-functions}subtract-dateTimes-yielding-dayTimeDuration": unknown function (or number of arguments (2) is wrong) .

Cause

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