My Oracle Support Banner

ORA-31011, ORA-19213, LPX-00231 from a Query after Enabling a SQL Profile (Doc ID 2358513.1)

Last updated on FEBRUARY 03, 2022

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 to 19.12.0.0.0 [Release 12.1 to 19]
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

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

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
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.