ORA-31011, ORA-19202, and LPX-00007 Returned when Moving XML Files Across XDB Repository Folders

(Doc ID 1904394.1)

Last updated on FEBRUARY 13, 2018

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.2]
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


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