Skip to Main Content

Berkeley DB Family

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!

XML Error while doing Schema Validation

721249Sep 28 2009 — edited Oct 7 2009
Hi,

I am trying to put a document after opening a container in "validate" mode through the BDBXML command line. I am getting the following error:

stdin:27: putDocument failed, Error: Error: XML Indexer: Parse error in document at line 83, char 38. Parser message: Type not found in http://schemas.leadproject.org/2007/01/lms/fgdc:citeinfo (Document: d1)

Following is the xml doc I am trying to put in:

*<?xml version="1.0" encoding="utf-8"?>*
*<lead:LEADresource xmlns:lead="http://schemas.leadproject.org/2007/01/lms/lead" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"*
xsi:schemaLocation="http://schemas.leadproject.org/2007/01/lms/lead LEAD.xsd">
*<lead:resourceID xmlns="http://schemas.leadproject.org/2007/01/lms/lead">urn:uuid:0a07957c-4489-478f-8105-22cd099744c9</lead:resourceID>*
*<lead:data>*
*</lead:data>*
*</lead:LEADresource>*

The XML schema, LEAD.xsd has got the following content:
............
:
:
<!--****************************** Import Declarations ****************************************************************-->
<xsd:import namespace="http://schemas.leadproject.org/2007/01/lms/fgdc" schemaLocation="IdentificationInformation.xsd"/>
<xsd:import namespace="http://schemas.leadproject.org/2007/01/lms/fgdc" schemaLocation="TimePeriodInformation.xsd"/>
<xsd:import namespace="http://schemas.leadproject.org/2007/01/lms/fgdc" schemaLocation="CitationInformation.xsd"/>
<xsd:import namespace="http://schemas.leadproject.org/2007/01/lms/fgdc" schemaLocation="EntityandAttributeInformation.xsd"/>
<xsd:import namespace="http://schemas.leadproject.org/2007/01/lms/fgdc" schemaLocation="DistributionInformation.xsd"/>
<xsd:import namespace="http://schemas.leadproject.org/2007/01/lms/fgdc" schemaLocation="MetadataReferenceInformation.xsd"/>
<xsd:import namespace="http://schemas.leadproject.org/2007/01/lms/fgdc" schemaLocation="DataQualityInformation.xsd"/>
<xsd:import namespace="http://schemas.leadproject.org/2007/01/lms/leadelements" schemaLocation="LEADElements.xsd"/>
<!--****************************** Element Declarations **************************************************************-->

<xsd:element name="citation" type="FGDC:citeinfoType"/>
<xsd:element name="descript" type="FGDC:descriptType"/>
<xsd:element name="status" type="FGDC:statusType"/>
<xsd:element name="accconst" type="FGDC:accconstType"/>
<xsd:element name="useconst" type="FGDC:useconstType"/>
<xsd:element name="keywords" type="FGDC:keywordsType"/>
<xsd:complexType name="idinfoBase">
:
:
:
:
...............

Can anyone please tell me what can be the possible reason for the error?

Thanks,
Dev
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 4 2009
Added on Sep 28 2009
1 comment
1,549 views