My Oracle Support Banner

Error ORA-31011: XML parsing failed LPX-00234: namespace prefix "ds" is not declared While Authenticating APEX Application using SAML (Doc ID 2994493.1)

Last updated on DECEMBER 22, 2023

Applies to:

Oracle Application Express (APEX) - Version 23.2 and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
APEX Application Development - Version 23.2 and later
Information in this document applies to any platform.

Symptoms

When users are trying to authenticate the application using SAML, they are getting security related error.

SAML AUTH: XML PARSING ERROR, NAMESPACE PREFIX "DS" IS NOT DECLARED

The following errors are observed when the debug is enabled for the Application where in SAML authentication is configured.

ORA-19213: error occurred in XML processing at lines 1
LPX-00234: namespace prefix "ds" is not declared
ORA-06512: at "SYS.XMLTYPE", line 310
ORA-06512: at line 1
ORA-06512: at "APEX_230200.WWV_FLOW_XML_SECURITY", line 1159
ORA-06512: at "APEX_230200.WWV_FLOW_XML_SECURITY", line 1407
ORA-06512: at "APEX_230200.WWV_FLOW_AUTHENTICATION_SAML", line 483
ORA-06512: at "APEX_230200.WWV_FLOW_AUTHENTICATION_NATIVE", line 1281
ORA-06512: at "APEX_230200.WWV_FLOW_PLUGIN", line 4123
ORA-06512: at "APEX_230200.WWV_FLOW_AUTHENTICATION", line 2186
- Backtrace: ORA-06512: at "SYS.XMLTYPE", line 310

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.