Insert into an XMLType Column Stored as Binary XML Fails with ORA-31061 on 11.2 with Event 31156 Set to Level 2
Last updated on FEBRUARY 26, 2012
Applies to:Oracle Server - Enterprise Edition - Version: 220.127.116.11
Information in this document applies to any platform.
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 18.104.22.168, 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';
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