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

Last updated on FEBRUARY 08, 2017

Applies to:

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

Symptoms

When moving a xml file with syntax errors in its content from a folder A to a 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 is 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

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