Ora-31000: Resource 'Common.Xsd' Is Not An Xdb Schema Document (Doc ID 1366271.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Standard Edition - Version 11.2.0.2 and later
Information in this document applies to any platform.
***Checked for relevance on 28-Mar-2013***

Symptoms

An xsd schema registration fails with the following error message:

ERROR at line 1:
ORA-00907: missing right parenthesis


Although the statement is correctly formatted:

BEGIN
DBMS_XMLSchema.registerSchema(
schemaurl=>'http://vmoracletest.transportation.com:8080/u01/home/oracle/xsd/consolidation.xsd',
SCHEMADOC => bfilename('XMLDIR','consolidation.xsd'),
LOCAL =>False);
END;
/

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