Oracle Error Message
OCI-31180: DOM Type mismatch in invalid PL/SQL DOM handle
Reason for the Error
The specified PL/SQL DOM handle is referencing a DOM Node whose DOM Type that does not match the one available in the session. This could happen because the pl/sql handle was reused, or the original document is no longer available.
Solution
Ensure that the pl/sql handle for the target node is valid and try the operation again.