ORA-31011, ORA-19213, LPX-00231 from a Query after Enabling a SQL Profile

(Doc ID 2358513.1)

Last updated on FEBRUARY 07, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

On a 12.1.0.2 database, an application query is failing with below errors since enabling a new SQL profile:

ORA-31011: XML parsing failed
ORA-19213: error occurred in XML processing at lines 1
LPX-00231: invalid character 32 (' ') found in a Name or Nmtoken

 Attempts to drop the profile with DBMS_SQLTUNE.DROP_SQL_PROFILE also fails with the same errors.

Cause

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