What privileges are needed to register a global schema (Doc ID 1349736.1)

Last updated on AUGUST 28, 2011

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.4 to 11.2.0.2 - Release: 10.2 to 11.2
Information in this document applies to any platform.

Symptoms

When attempting to register an XML schema as a global schema, a user may see this error

BEGIN
DBMS_XMLSchema.registerSchema(SCHEMAURL => 'test',
SCHEMADOC => '',
LOCAL => false, <<---- This determines if schema is registered local or global
GENTYPES => FALSE,
GENBEAN => FALSE,
GENTABLES => FALSE,
FORCE => FALSE,
OPTIONS => DBMS_XMLSCHEMA.REGISTER_BINARYXML);
END;

ORA-31086: insufficient privileges to register schema "test"
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 3
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 14
ORA-06512: at line 3





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