LPX-00217: invalid character During IMPDP: How To Find The Corrupted XML Data On SOURCE Table

(Doc ID 1531866.1)

Last updated on JUNE 04, 2013

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 12.1.0.1.0 [Release 10.2 to 12.1]
Information in this document applies to any platform.

Goal

How to identify the corrupted XML rows on the SOURCE table when IMPDP fails with LPX-00217: invalid character

IMPDP fails with an error like this:

ORA-31693: Table data object "USER"."TABLE_NAME" 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)

 

The error is correctly raised because the XML document contains a not supported character. For more info take a look at <Note 248344.1>

 

Solution

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