XML data format changed after upgrade to 12c

(Doc ID 2390885.1)

Last updated on MAY 07, 2018

Applies to:

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

Symptoms

There is a table with column of XMLTYPE:
create table XIBINTG_TEST.FLCN_CUSTOMER
(
recid VARCHAR2(255) not null,
xmlrecord SYS.XMLTYPE
);
The XMLTYPE data of the table  before reinsertion  is as follows :

<c9 m='2'></c9>;
After deleting the table data and reinserting  data ; the format of the same row is changed to:

<c9 m="2"/>

Changes

 

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