My Oracle Support Banner

how an xml unsupported character can be removed from a table and reinserted. (Doc ID 2272700.1)

Last updated on APRIL 04, 2019

Applies to:

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

Symptoms

Import fails with below error

ORA-31693: Table data object "TEST"."FBNK_CND_000" failed to load/unload and is being skipped due to error:
ORA-29913: error in executing ODCIEXTTABLEFETCH callout
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00217: invalid character 0 (U+0000)

And the corrupted sql can be identified by

LPX-00217: invalid character During IMPDP: How To Find The Corrupted XML Data On SOURCE Table (Doc ID 1531866.1)

 At the same time,select on the table holding the problematic row at the source end also fails

SQL> select * from FBNK_CND_000 where rowid='AAD+p1ACSAACzv2AAC';
ERROR:
OCI-31011: XML parsing failed

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.