My Oracle Support Banner

ORA-31011, ORA-19202, and LPX-00007 Returned when Moving XML Files Across XDB Repository Folders (Doc ID 1904394.1)

Last updated on APRIL 12, 2022

Applies to:

Oracle Database - Enterprise Edition - Version to [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.


When moving an xml file with syntax errors in its content from folder A to folder B in the XDB repository, a parsing error is returned.

The failing statement is:

exec dbms_xdb.renameresource(srcpath =>
'/public/xdbbug/source/my_message.xml',destfolder =>
'/public/xdbbug/target',newname => 'my_moved_message.xml');

The error message returned is:

ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00007: unexpected end-of-file encountered
ORA-06512: at "XDB.DBMS_XDB", line 388
ORA-06512: at line 1


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.