Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

register XForms-Schema.xsd in Oracle XML DB

tametigerFeb 21 2008 — edited Mar 3 2008
I need to store some xml contents which conforming to http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd into Oracle XML DB.
To do this, I need to register XForms-Schema.xsd, because XForms-Schema.xsd itself imports http://www.w3.org/2001/XMLSchema.xsd, I have to register XMLSchema.xsd first.

After I loaded the XMLSchema.xsd in Oracle and try to register it using DBMS_XMLSCHEMA.registerSchema(
SCHEMAURL => 'http://contentdb:8080/public/webform/schemas2/includes/XMLSchema.xsd',
SCHEMADOC => xdbURIType('/public/webform/schemas2/includes/XMLSchema').getClob(),
local => TRUE,
genTypes => TRUE,
genBean => False,
genTables => FALSE);

I got an error shows:
Error report:
ORA-31001: Invalid resource handle or path name "/XMLSchema.dtd"
ORA-06512: at "SYS.XDBURITYPE", line 4
ORA-06512: at line 2
31001. 00000 - "Invalid resource handle or path name \"%s\""
*Cause: An invalid resource handle or path name was passed to
the XDB hierarchical resolver.
*Action: Pass a valid resouce handle or path name to the hierarchical
resolver.

Anyone knows how to solve the problem?
My Question is: how to register the W3C official XForms-Schema.xsd in Oracle DB?

Thanks a lot.

Message was edited by:
tametiger
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2008
Added on Feb 21 2008
6 comments
1,867 views