ORA-31181 WHEN DBMS_XMLDOM.FREEDOCUMENT FREES INCORRECT DOMDOCUMENT OBJECT
(Doc ID 1586711.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Information in this document applies to any platform.
Calling dbms_xmldom.freeDocument() out of order fails with ORA-31181.
The following code has a side effect of freeing DOC2 (rather than DOC1) so any future attempt to work with DOC2 fails with ORA-31181.
ORA-31181: PL/SQL DOM handle accesses node that is no longer available
ORA-06512: at "XDB.DBMS_XMLDOM", line 4755
ORA-06512: at "XDB.DBMS_XMLDOM", line 4773
ORA-06512: at line 15
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!