My Oracle Support Banner

Query on xmltype variable with > 64k nodes returns NULL or incorrect result (Doc ID 2128646.1)

Last updated on APRIL 19, 2016

Applies to:

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

Symptoms

When passing XML with > 64K nodes as a pl/sql variable, query returns NULL or an incorrect result. For instance:

EXPECTED RESULT:
  xml_clob:<Detail><Value>a65536b</Value></Detail>
ACTUAL RESULT:
  xml_clob:

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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.