Insert into an XMLType Column Stored as Binary XML Fails with ORA-31061 on 11.2 with Event 31156 Set to Level 2
(Doc ID 1422419.1)
Last updated on MARCH 28, 2019
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
On 184.108.40.206, inserting into an XMLType column stored as binary XML fails with the following error:
ORA-31061: XDB error: XML event error
ORA-19202: Error occurred in XML processing
Setting event 31156 with level 2 or level 0x400 has no effect.
On 220.127.116.11, this insert works fine if DTD validation is disabled by setting the following event prior to the insert:
SQL> alter session set events '31156 trace name context forever, level 2';
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document