register XForms-Schema.xsd in Oracle XML DB
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