My Oracle Support Banner

ora:contains Only Finds Search Hits Before Position 4000 in the XML Document (Doc ID 1276569.1)

Last updated on FEBRUARY 19, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.7 and later
Information in this document applies to any platform.

Symptoms

On 11.1.0.7, 11.2.0.1 and 11.2.0.2 version, XML Database ora:contains function does not find the text_query string if this is after position 4000 in the XML document.

The issue can be reproduced at will with the following steps:


length(c)=4000
n=1 -- OK

length(c)=5000
n=0 -- Should be 1 !

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.