XDK XPath Expression Returns Wrong Result using substring() function when string-length() is used as arg 2 or 3 (Doc ID 1455103.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle XML Developers Kit - Version 11.2.0.2 and later
Information in this document applies to any platform.

Symptoms

XDK fails to evaluate an XPath expression that involves the substring() function, with 3 arguments (string, start, length); and the 2nd or 3rd argument was given by the string-length(). The result is wrong or null.

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