Calls

PROCEDURE DBMS_XMLSCHEMA.registerSchema (schemaURL IN VARCHAR2, schemaDoc IN {VARCHAR2 | CLOB | BFILE | SYS.XMLType | SYS.URIType}, local IN BOOLEAN := TRUE, genTypes IN BOOLEAN := TRUE, genbean IN BOOLEAN := FALSE, [genTables IN BOOLEAN := TRUE,] force IN BOOLEAN := FALSE, owner IN VARCHAR2 := NULL);

Registers schemaDoc, which has a datatype varying according to the type of schema being registered, with the URL of schemaURL. If local, the schema is local; if not, the schema is global. If genTypes, the schema compiler will generate object types. If genbean, the schema compiler will generate object types. If force, the schema registration will not raise errors and will instead create an invalid XML schema. owner is the database owner who owns the XML schema; if owner is NULL, the user owns the schema. genTables is used only for the VARCHAR2 datatype of schemaDoc and causes the schema compiler to generate tables.

PROCEDURE DBMS_XMLSCHEMA.registerURI (schemaURL IN VARCHAR2, schemaDocURI IN VARCHAR2, local IN BOOLEAN := TRUE, genTypes IN BOOLEAN := TRUE, genbean IN BOOLEAN := FALSE, genTables IN BOOLEAN := TRUE, force IN BOOLEAN := FALSE, owner IN VARCHAR2 := NULL);

Registers the schema at schemaDocURI with the URL of schemaURL. If local, the schema is local; if not, the schema is global. If genTypes, the schema compiler will generate object types. If genbean, the schema compiler will generate object types. If genTables, the schema compiler will generate tables. If force, schema ...

Get Oracle in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.