Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> XML RegisterURI syntax question
Cannot seem to fathom the correct syntax for the DBMS_XMLSCHEMA.registerURI function. Specifically, I am trying to register a schema that simply exists on local storage.
BEGIN
DBMS_XMLSCHEMA.registerURI('www.acertiv.com/xdbdoc/testgbr.xsd',
'File://D:/DevFiles/XMLSchemas/TestGbr1.xsd');
END;
/
Gives:
BEGIN
*
ERROR at line 1:
ORA-31001: Invalid resource handle or path name "File://D:/DevFiles/XMLSchemas/TestGbr1.xsd" ORA-06512: at "SYS.XDBURITYPE", line 45 ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 163 ORA-06512: at line 2
Thanks,
Gerald
Received on Sun Feb 29 2004 - 15:14:26 CST