Duplicate XML Elements are Created with XMLSERIALIZE if the VARCHAR2 Datatype is Used

(Doc ID 2352660.1)

Last updated on JANUARY 24, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.2.0.1 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Symptoms

On 12.1.0.2 and 12.2.0.1, duplicate XML elements are created with XMLSERIALIZE if the VARCHAR2 datatype is used.

If the default CLOB datatype is used, the correct output is returned.

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