Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: XML RegisterURI syntax question

Re: XML RegisterURI syntax question

From: Douglas Hawthorne <DouglasHawthorne_at_yahoo.com.au>
Date: Wed, 03 Mar 2004 20:46:02 GMT
Message-ID: <eur1c.85482$Wa.11498@news-server.bigpond.net.au>

"Gerald Rosenberg" <No_at_address.net> wrote in message news:MPG.1aabf6245f25a5b0989720_at_news.concentric.net...
>
> 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

Gerald,

The basic problem is that the FILE protocol is not supported by this procedure. The valid protocols are HTTP, FTP, DB, and XDB. Please refer to p.28-5 of "Oracle 9i XML API Reference - XDK and Oracle XML DB".

Douglas Hawthorne Received on Wed Mar 03 2004 - 14:46:02 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US