My Oracle Support Banner

Incorrect Result from insertChildXML() for Binary XML When Parent Element is Empty (Doc ID 1078518.1)

Last updated on FEBRUARY 17, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.0 to 11.2.0.0 [Release 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

insertChildXML() inserts a child XML element at the wrong node when:

  1. the parent element is EMPTY,
  2. the element has a namespace attribute, and
  3. the XMLTYPE column being modified is stored as a binary XML.

Given the following example:



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.