My Oracle Support Banner

format-dateTime() is failing with "The XPath expression failed to execute; the reason was: oracle.fabric.common.xml.xpath.XPathFunctionException: Xpath20Function" (Doc ID 2761868.1)

Last updated on MARCH 19, 2021

Applies to:

Oracle Integration-OIC - Version 18.2.5 and later
Information in this document applies to any platform.

Symptoms

The following XPATH statement:

xp20:format-dateTime(fn:current-dateTime(),"[Y0001][M01][D01][H01][m01][s01]").

 

 fails with:

Error Summary: XPath expression failed to execute.
An error occurs while processing the XPath expression; the expression is xp20:format-dateTime(fn:current-dateTime(),"[Y0001][M01][D01][H01][m01][s01]").
The XPath expression failed to execute; the reason was: oracle.fabric.common.xml.xpath.XPathFunctionException: Xpath20Function



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
References


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