My Oracle Support Banner

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

Last updated on NOVEMBER 15, 2023

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.