ORA-31181 WHEN DBMS_XMLDOM.FREEDOCUMENT FREES INCORRECT DOMDOCUMENT OBJECT
Last updated on FEBRUARY 08, 2017
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 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
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