Error while registering a schema

Hi :
I get this error while I am registering my XML schema.
ERROR at line 1:
ORA-31154: invalid XML document
ORA-19202: Error occurred in XML processing
LPX-00217: invalid character 0 (\u0000)
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 26
ORA-06512: at line 2
I have marked in bold the part of the schema which bombs while registering. (When I validate this scehms in XML Spy it says it is a valid schems)
The Schema definition is as follows :
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:uk:ac:ebi:spml" xmlns="urn:uk:ac:ebi:spml" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:include schemaLocation="feature.xsd"/>
<!-- Evidence definition begins -->
<xs:complexType name="evidenceListType">
<xs:annotation>
<xs:documentation>The list of all evidences stored in one entry.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="evidence" type="evidenceType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="evidenceType">
<xs:annotation>
<xs:documentation>The evidence element is equivalent to the actual evidence (**EV line).</xs:documentation>
</xs:annotation>
<xs:attribute name="category" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="curator"/>
<xs:enumeration value="import"/>
<xs:enumeration value="program"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="ANU-2DPAGE_ADD"/>
<xs:enumeration value="COMPLUYEAST-2DPAGE_ADD"/>
<xs:enumeration value="Curator"/>
<xs:enumeration value="EMBL"/>
<xs:enumeration value="Experimental"/>
<xs:enumeration value="FLYBASE_ADD"/>
<xs:enumeration value="GENEW_ADD"/>
<xs:enumeration value="GOA_ADD"/>
<xs:enumeration value="GRAMENE_ADD"/>
<xs:enumeration value="HSSP_ADD"/>
<xs:enumeration value="Import"/>
<xs:enumeration value="MEROPS_ADD"/>
<xs:enumeration value="MGD_ADD"/>
<xs:enumeration value="Opinion"/>
<xs:enumeration value="PHCI-2DPAGE_ADD"/>
<xs:enumeration value="PMMA-2DPAGE_ADD"/>
<xs:enumeration value="ProtImp"/>
<xs:enumeration value="REBASE_ADD"/>
<xs:enumeration value="Rulebase"/>
<xs:enumeration value="SGD_ADD"/>
<xs:enumeration value="SIENA-2DPAGE_ADD"/>
<xs:enumeration value="SignalP"/>
<xs:enumeration value="Similarity"/>
<xs:enumeration value="TRANSFAC_ADD"/>
<xs:enumeration value="TrEMBL"/>
<xs:enumeration value="ZFIN_ADD"/>
<xs:enumeration value="internal"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="attribute" type="xs:string" use="optional"/>
<xs:attribute name="date" type="xs:date" use="required"/>
<xs:attribute name="evID" type="xs:string" use="required"/>
</xs:complexType>
<!-- Evidence definition ends -->
<!-- Definition of the protein begins -->
<xs:complexType name="proteinType">
<xs:sequence>
<xs:element name="name" type="nameType" maxOccurs="unbounded"/>
<xs:element name="iRefList" type="iRefListType" minOccurs="0">
<xs:annotation>
<xs:documentation>This is referring to a possible EC number (ENZYME database cross reference).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="componentList">
<xs:annotation>
<xs:documentation>The component list is equivalent to the CONTAINS section of the DE line.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="component" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="nameType" maxOccurs="unbounded"/>
<xs:element name="iRefList" type="iRefListType" minOccurs="0">
<xs:annotation>
<xs:documentation>This is referring to a possible EC number (ENZYME database cross reference).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="domainList">
<xs:annotation>
<xs:documentation>The domain list is equivalent to the INCLUDES section of the DE line.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="domain" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="nameType" maxOccurs="unbounded"/>
<xs:element name="iRefList" type="iRefListType" minOccurs="0">
<xs:annotation>
<xs:documentation>This is referring to a possible EC number (ENZYME database cross reference).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:element name="evList" type="evListType" minOccurs="0">
<xs:annotation>
<xs:documentation>This contains all evidence that are connected to the complete DE line (For the time being also the ones that couldn't be resolved to a single name).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="evidenceStatus">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="hypothetical"/>
<xs:enumeration value="putative"/>
<xs:enumeration value="possible"/>
<xs:enumeration value="probable"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="type">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="fragment"/>
<xs:enumeration value="fragments"/>
<xs:enumeration value="version1"/>
<xs:enumeration value="version2"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<!-- Definition of the protein ends -->
<!-- DB reference definition begins -->
<xs:complexType name="sptrProperties">
<xs:complexContent>
<xs:restriction base="propertyBaseType">
<xs:attribute name="name" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="edition"/>
<xs:enumeration value="entry name"/>
<xs:enumeration value="evidence"/>
<xs:enumeration value="gene designation"/>
<xs:enumeration value="last revision date"/>
<xs:enumeration value="match status"/>
<xs:enumeration value="match status hits"/>
<xs:enumeration value="method"/>
<xs:enumeration value="organism name"/>
<xs:enumeration value="pdb accession"/>
<xs:enumeration value="protein sequence ID"/>
<xs:enumeration value="status"/>
<xs:enumeration value="term"/>
<xs:enumeration value="type"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="value" type="xs:string" use="required"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="allSPTrDbsType">
<xs:restriction base="xs:string">
<xs:enumeration value="ANU-2DPAGE"/>
<xs:enumeration value="Aarhus/Ghent-2DPAGE"/>
<xs:enumeration value="COMPLUYEAST-2DPAGE"/>
<xs:enumeration value="DictyDb"/>
<xs:enumeration value="EC"/>
<xs:enumeration value="ECO2DBASE"/>
<xs:enumeration value="EMBL"/>
<xs:enumeration value="EcoGene"/>
<xs:enumeration value="FlyBase"/>
<xs:enumeration value="GO"/>
<xs:enumeration value="Genew"/>
<xs:enumeration value="GlycoSuiteDB"/>
<xs:enumeration value="Gramene"/>
<xs:enumeration value="HIV"/>
<xs:enumeration value="HSC-2DPAGE"/>
<xs:enumeration value="HSSP"/>
<xs:enumeration value="InterPro"/>
<xs:enumeration value="Leproma"/>
<xs:enumeration value="ListiList"/>
<xs:enumeration value="MAIZE-2DPAGE"/>
<xs:enumeration value="MEROPS"/>
<xs:enumeration value="MGD"/>
<xs:enumeration value="MIM"/>
<xs:enumeration value="MaizeDB"/>
<xs:enumeration value="MypuList"/>
<xs:enumeration value="PDB"/>
<xs:enumeration value="PHCI-2DPAGE"/>
<xs:enumeration value="PhosSite"/>
<xs:enumeration value="PIR"/>
<xs:enumeration value="PMMA-2DPAGE"/>
<xs:enumeration value="PRINTS"/>
<xs:enumeration value="PROSITE"/>
<xs:enumeration value="Pfam"/>
<xs:enumeration value="ProDom"/>
<xs:enumeration value="REBASE"/>
<xs:enumeration value="SGD"/>
<xs:enumeration value="SMART"/>
<xs:enumeration value="SWISS-2DPAGE"/>
<xs:enumeration value="Siena-2DPAGE"/>
<xs:enumeration value="StyGene"/>
<xs:enumeration value="SubtiList"/>
<xs:enumeration value="TIGR"/>
<xs:enumeration value="TIGRFAMs"/>
<xs:enumeration value="TRANSFAC"/>
<xs:enumeration value="TubercuList"/>
<xs:enumeration value="WormPep"/>
<xs:enumeration value="ZFIN"/>
</xs:restriction>
</xs:simpleType>
<!-- <xs:complexType name="sptrDbReferenceType" abstract="true">-->
<xs:complexType name="sptrDbReferenceType">
<xs:complexContent>
<xs:restriction base="dbReferenceBaseType">
<xs:sequence>
<xs:element name="property" type="propertyBaseType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="evList" type="evListType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="db" type="allSPTrDbsType" use="required"/>
<xs:attribute name="id" type="xs:string" use="required"/>
<xs:attribute name="iRefID" type="xs:string" use="required"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<!-- EMBL -->
<!--
<xs:complexType name="emblDbProperties">
<xs:complexContent>
<xs:restriction base="propertyBaseType">
<xs:attribute name="name" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="protein sequence ID"/>
<xs:enumeration value="status"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="value" type="xs:string" use="required"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="emblDbReferenceType">
<xs:complexContent>
<xs:restriction base="sptrDbReferenceType">
<xs:sequence>
<xs:element name="property" type="emblDbProperties" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="evList" type="evListType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="db" use="required">
<xs:simpleType>
<xs:restriction base="allSPTrDbsType">
<xs:enumeration value="EMBL"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="id" type="xs:string" use="required"/>
<xs:attribute name="iRefID" type="xs:string" use="required"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
-->
<!-- EMBL -->
<!-- NCBI Taxonomy -->
<xs:complexType name="taxonomyDBType">
<xs:annotation>
<xs:documentation>This dbRef type is meant for taxonomy database such as the NCBI taxonomy database.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:restriction base="dbReferenceBaseType">
<xs:sequence>
<xs:element name="evList" type="evListType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="db" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="NCBI Taxonomy"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="id" type="xs:string" use="required"/>
<xs:attribute name="iRefID" type="xs:string" use="required"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<!-- NCBI Taxonomy -->
<!-- DB reference definition ends -->
<!-- Name definition begins -->
<xs:complexType name="nameType" mixed="true">
<xs:annotation>
<xs:documentation>The name type is used for all names occuring in an entry.</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="evList" type="evListType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="organismNameType">
<xs:annotation>
<xs:documentation>The name type is used for source organism names.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="common name"/>
<xs:enumeration value="full name"/>
<xs:enumeration value="scientific name"/>
<xs:enumeration value="synonym"/>
<xs:enumeration value="abbreviation"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<!-- Name definition ends -->
<!-- Definition of the geneLocation begins -->
<xs:complexType name="geneLocationListType">
<xs:annotation>
<xs:documentation>Defines the locations/origins of the shown sequence (OG line).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="geneLocation" type="geneLocationBaseType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="geneLocationBaseType" abstract="true">
<xs:annotation>
<xs:documentation>The location's supertype.</xs:documentation>
</xs:annotation>
</xs:complexType>
<xs:complexType name="organelleLocationType">
<xs:annotation>
<xs:documentation>This type stores the location if it's a chloroplast, cyanelle or mitochondrium.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="geneLocationBaseType">
<xs:sequence>
<xs:element name="evList" type="evListType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="chloroplast"/>
<xs:enumeration value="cyanelle"/>
<xs:enumeration value="mitochondrion"/>
<xs:enumeration value="nucleomorph"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="plasmidLocationType">
<xs:annotation>
<xs:documentation>This type stores the location if it's a plasmid including all plasmid names.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="geneLocationBaseType">
<xs:sequence>
<xs:element name="name" type="nameType"/>
<xs:element name="evList" type="evListType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="plasmid"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- Definition of the geneLocation ends -->
<!-- Feature definition begins -->
<xs:complexType name="baseFeatureType" mixed="true">
<xs:annotation>
<xs:documentation>The feature's supertype from which all other feature element types are derived.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="locationGroup" minOccurs="0"/>
<xs:element name="evList" type="evListType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="description" type="xs:string" use="optional"/>
</xs:complexType>
<xs:complexType name="featureType" mixed="true">
<xs:annotation>
<xs:documentation>Currently there is only one basic feature type, but this will change in future with enhancement of the FT line parsers.</xs:documentation>
</xs:annotation>
<xs:complexContent mixed="true">
<xs:extension base="baseFeatureType">
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="active site"/>
<xs:enumeration value="binding site"/>
<xs:enumeration value="calcium-binding region"/>
<xs:enumeration value="glycosylation site"/>
<xs:enumeration value="chain"/>
<xs:enumeration value="sequence conflict"/>
<xs:enumeration value="disulfide bond"/>
<xs:enumeration value="DNA-binding region"/>
<xs:enumeration value="domain"/>
<xs:enumeration value="helix"/>
<xs:enumeration value="initiator methionine"/>
<xs:enumeration value="lipid moiety-binding region"/>
<xs:enumeration value="metal ion-binding site"/>
<xs:enumeration value="modified residue"/>
<xs:enumeration value="mutagenesis site"/>
<xs:enumeration value="non-consecutive residues"/>
<xs:enumeration value="non-terminal residue"/>
<xs:enumeration value="nucleotide phosphate-binding region"/>
<xs:enumeration value="peptide"/>
<xs:enumeration value="propeptide"/>
<xs:enumeration value="repeat"/>
<xs:enumeration value="selenocysteine"/>
<xs:enumeration value="signal peptide"/>
<xs:enumeration value="site"/>
<xs:enumeration value="strand"/>
<xs:enumeration value="thioether bond"/>
<xs:enumeration value="thiolester bond"/>
<xs:enumeration value="transit peptide"/>
<xs:enumeration value="transmembrane region"/>
<xs:enumeration value="turn"/>
<xs:enumeration value="unsure residue"/>
<xs:enumeration value="sequence variant"/>
<xs:enumeration value="splice variant"/>
<xs:enumeration value="zinc finger region"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- Feature definition ends -->
<!-- Comment definition begins -->
<xs:complexType name="baseCommentType" abstract="true" mixed="true">
<xs:annotation>
<xs:documentation>The comment's supertype from which all other comment element types are derived</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="evList" type="evListType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="commentType" mixed="true">
<xs:annotation>
<xs:documentation>Basic comment type which contains only text and evidence tags, no extra structure/attributes.</xs:documentation>
</xs:annotation>
<xs:complexContent mixed="true">
<xs:extension base="baseCommentType">
<xs:attribute name="topic" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="alternative products"/>
<xs:enumeration value="biotechnology"/>
<xs:enumeration value="catalytic activity"/>
<xs:enumeration value="caution"/>
<xs:enumeration value="cofactor"/>
<xs:enumeration value="database"/>
<xs:enumeration value="developmental stage"/>
<xs:enumeration value="disease"/>
<xs:enumeration value="domain"/>
<xs:enumeration value="enzyme regulation"/>
<xs:enumeration value="function"/>
<xs:enumeration value="induction"/>
<xs:enumeration value="miscellaneous"/>
<xs:enumeration value="pathway"/>
<xs:enumeration value="pharmaceutical"/>
<xs:enumeration value="polymorphism"/>
<xs:enumeration value="ptm"/>
<xs:enumeration value="similarity"/>
<xs:enumeration value="subcellular location"/>
<xs:enumeration value="subunit"/>
<xs:enumeration value="tissue specificity"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!--
<xs:complexType name="commentDatabaseType" mixed="true">
<xs:complexContent mixed="true">
<xs:extension base="baseCommentType">
<xs:attribute name="topic" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="database"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="note" type="xs:string" use="optional"/>
<xs:attribute name="www" type="xs:anyURI" use="optional"/>
<xs:attribute name="ftp" type="xs:anyURI" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
-->
<xs:complexType name="massSpecType" mixed="true">
<xs:annotation>
<xs:documentation>The information of the mass spectrometry comment is stored in the attributes:
-molWeight (molecular weight)
-mwError (error of the molecular weight)
-msMethod (the method used for the mass spectrometry)
-range (which amino acids were messured. It's not mentioned if the complete sequence as shown in the entry was messured)</xs:documentation>
</xs:annotation>
<xs:complexContent mixed="true">
<xs:extension base="baseCommentType">
<xs:sequence minOccurs="0">
<xs:element name="range" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="begin" type="xs:int" use="required"/>
<xs:attribute name="end" type="xs:int" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="topic" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="mass spectrometry"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="molWeight" type="xs:float" use="required"/>
<xs:attribute name="mwError" type="xs:string" use="optional"/>
<xs:attribute name="msMethod" type="xs:string" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- Comment definition ends -->
<!-- Citation type section begins -->
<!-- Definitions for SPTr's additional citation information begins -->
<xs:complexType name="scopeListType">
<xs:annotation>
<xs:documentation>Contains a list of scopes regarding a citation. There is no classification currently, but will be introduced in future. (RP lines).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="scope" type="xs:string" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sourceDataType">
<xs:annotation>
<xs:documentation>Contains specific information about the sequence source that was used in the ciation (RC lines).</xs:documentation>
</xs:annotation>
<xs:choice maxOccurs="unbounded">
<xs:element name="species">
<xs:complexType>
<xs:sequence>
<xs:element name="iRefList" type="iRefListType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="strain">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="plasmid" type="xs:string"/>
<xs:element name="transposon" type="xs:string"/>
<xs:element name="tissue" type="xs:string"/>
</xs:choice>
</xs:complexType>
<xs:group name="sptrCitationGroup">
<xs:annotation>
<xs:documentation>Groups the scope and source data lists.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="scopeList" type="scopeListType"/>
<xs:element name="source" type="sourceDataType" minOccurs="0"/>
<xs:element name="evList" type="evListType" minOccurs="0"/>
</xs:sequence>
</xs:group>
<!-- Definitions for SPTr's additional citation information ends -->
<xs:complexType name="referenceType">
<xs:annotation>
<xs:documentation>Stores all information of the reference block in SPTr (RN, RP, RC, RX, RA, RT and RL line).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="citation" type="citationType"/>
<xs:group ref="sptrCitationGroup"/>
</xs:sequence>
<xs:attribute name="iRefID" type="xs:string" use="required"/>
</xs:complexType>
<!-- Citation type section ends -->
<!-- Entry type definition begins -->
<xs:complexType name="entryType">
<xs:annotation>
<xs:documentation>A (public) SPTr entry</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="secondaryAccessionList" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="accession" type="xs:string" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="secondaryNameList" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="protein" type="proteinType"/>
<xs:element name="geneList" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="gene" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="nameType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="organismList">
<xs:complexType>
<xs:sequence>
<xs:element name="organism" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="organismNameType" maxOccurs="unbounded"/>
<xs:element name="dbReferenceList">
<xs:complexType>
<xs:sequence>
<xs:element name="dbReference" type="taxonomyDBType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="lineage" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="taxon" type="xs:string" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="iRefID" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="geneLocationList" type="geneLocationListType" minOccurs="0"/>
<xs:element name="referenceList">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="reference" type="referenceType"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="commentList" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="comment" type="baseCommentType" nillable="true" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="dbReferenceList" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="dbReference" type="sptrDbReferenceType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="keywordList" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="keyword" maxOccurs="unbounded">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="evList" type="evListType"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="featureList" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="feature" type="featureType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="evidenceList" type="evidenceListType" minOccurs="0"/>
<xs:element name="sequence">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="length" type="xs:integer" use="required"/>
<xs:attribute name="weight" type="xs:integer" use="required"/>
<xs:attribute name="crc64" type="xs:string" use="required"/>
<xs:attribute name="lastUpdate" type="xs:date" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="accession" type="xs:string" use="required"/>
<xs:attribute name="database" type="xs:string" use="required"/>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="firstPublic" type="xs:date" use="required"/>
<xs:attribute name="lastAnnotationUpdate" type="xs:date" use="required"/>
</xs:complexType>
<!-- Entry type definition ends -->
<!-- Definition of the content of the root element "swissprot" -->
<xs:element name="sptr">
<xs:annotation>
<xs:documentation>Contains a collection of Swiss-Prot entries.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="entry" type="entryType" maxOccurs="unbounded">
<xs:key name="referenceKey">
<xs:annotation>
<xs:documentation>Defines the key constraint for iRefID attribute where possible in the entry (citations are missing still).</xs:documentation>
</xs:annotation>
<xs:selector xpath="organismList/organism|dbReferenceList/dbReference"/>
<xs:field xpath="iRefID"/>
</xs:key>
<xs:key name="evidenceReferenceKey">
<xs:annotation>
<xs:documentation>Defines the key constraint for evID attribute in evidence elements.</xs:documentation>
</xs:annotation>
<xs:selector xpath="evidenceList/evidence"/>
<xs:field xpath="evID"/>
</xs:key>
<!--
<xs:keyref name="internalReference" refer="referenceKey">
<xs:selector xpath=".//iRef"/>
<xs:field xpath="ref"/>
</xs:keyref>
-->
<xs:keyref name="evidenceReference" refer="evidenceReferenceKey">
<xs:selector xpath=".//ev"/>
<xs:field xpath="ref"/>
</xs:keyref> <!--
-->
</xs:element>
<xs:element name="copyright">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="iRefID" type="xs:string" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
feature.xsd is below :
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:uk:ac:ebi:spml" xmlns="urn:uk:ac:ebi:spml" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- Feature location definition begins -->
<xs:complexType name="positionType">
<xs:attribute name="position" type="xs:unsignedLong" use="required"/>
</xs:complexType>
<xs:complexType name="gapType">
<xs:complexContent>
<xs:extension base="positionType">
<xs:attribute name="length" type="xs:unsignedLong" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="intervalType">
<xs:attribute name="begin" type="xs:unsignedLong" use="required"/>
<xs:attribute name="end" type="xs:unsignedLong" use="required"/>
</xs:complexType>
<xs:complexType name="baseLocationType">
<xs:annotation>
<xs:documentation>A location can be either a position, site or have a start and end, only start, only end or is an empty element if the position is unknown.
The iRef attribute points to an external database reference (equivalent to J00194:100..202 in EMBL).</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:sequence>
<xs:choice minOccurs="0">
<xs:element name="begin" type="positionType"/>
<xs:element name="beginInterval" type="intervalType"/>
</xs:choice>
<xs:choice minOccurs="0">
<xs:element name="end" type="positionType"/>
<xs:element name="endInterval" type="intervalType"/>
</xs:choice>
</xs:sequence>
<xs:element name="position" type="positionType"/>
<xs:element name="positionInterval" type="intervalType"/>
<xs:element name="site" type="positionType"/>
</xs:choice>
<xs:attribute name="iRef" type="xs:string" use="optional"/>
<xs:attribute name="complement" type="xs:boolean" use="optional" default="false"/>
</xs:complexType>
<xs:complexType name="fuzzyLocationType">
<xs:annotation>
<xs:documentation>A location can be either a position, site or have a start and end, only start, only end or is an empty element if the position is unknown.
The iRef attribute points to an external database reference (equivalent to J00194:100..202 in EMBL).</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="baseLocationType">
<xs:attribute name="fuzzy" use="optional" default="none">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="right"/>
<xs:enumeration value="both"/>
<xs:enumeration value="none"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="joinType">
<xs:sequence>
<xs:choice maxOccurs="unbounded">
<xs:element name="location" type="baseLocationType"/>
<xs:element name="gap" type="gapType"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="fuzzy" use="optional" default="none">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="right"/>
<xs:enumeration value="both"/>
<xs:enumeration value="none"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="complement" type="xs:boolean" use="optional" default="false"/>
</xs:complexType>
<xs:group name="locationGroup">
<xs:choice>
<xs:element name="location" type="fuzzyLocationType"/>
<xs:element name="join" type="joinType"/>
</xs:choice>
</xs:group>
<!-- Feature location definition ends -->
<!-- Evidence definition begins -->
<xs:complexType name="evListType">
<xs:annotation>
<xs:documentation>Contains a list of evidence tags.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ev" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The ev element is equivalent to an evidence tags.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- Evidence definition ends -->
<!-- DB reference definition begins -->
<xs:complexType name="propertyBaseType">
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="value" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="dbReferenceBaseType" abstract="true">
<xs:annotation>
<xs:documentation>DR line</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="property" type="propertyBaseType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="evList" type="evListType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="db" type="xs:string" use="required"/>
<xs:attribute name="id" type="xs:string" use="required"/>
<xs:attribute name="iRefID" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="citationDBType">
<xs:annotation>
<xs:documentation>This dbRef type is meant for citation database such as PubMed and MEDLINE.</xs:documentation>
<xs:documentation>This dbRef type is meant for citation database such as PubMed and MEDLINE.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:restriction base="dbReferenceBaseType">
<xs:sequence>
<xs:element name="evList" type="evListType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="db" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="PubMed"/>
<xs:enumeration value="MEDLINE"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="id" type="xs:string" use="required"/>
<xs:attribute name="iRefID" type="xs:string" use="required"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<!-- DB reference definition ends -->
<!-- Citation type section begins -->
<xs:group name="citationContentGroup">
<xs:sequence>
<xs:element name="authorList" type="nameListType"/>
<xs:element name="dbReferenceList" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="dbReference" type="citationDBType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="iRefList" type="iRefListType" minOccurs="0"/>
</xs:sequence>
</xs:group>
<xs:complexType name="citationType" abstract="true">
<xs:annotation>
<xs:documentation>The citation super type</xs:documentation>
</xs:annotation>
<xs:attribute name="iRefID" type="xs:string" use="optional"/>
</xs:complexType>
<xs:complexType name="bookType">
<xs:annotation>
<xs:documentation>Stores all information about a book.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="citationType">
<xs:sequence>
<xs:element name="title" type="freeTextType" minOccurs="0"/>
<xs:element name="bookTitle" type="xs:string"/>
<xs:element name="editorList" type="nameListType" minOccurs="0"/>
<xs:group ref="citationContentGroup"/>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="book"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="volume" type="xs:string" use="optional"/>
<xs:attribute name="year" type="xs:int" use="required"/>
<xs:attribute name="first" type="xs:unsignedInt" use="required"/>
<xs:attribute name="last" type="xs:unsignedInt" use="required"/>
<xs:attribute name="ISDN" type="xs:string" use="optional"/>
<xs:attribute name="publisher" type="xs:string" use="required"/>
<xs:attribute name="city" type="xs:string" use="required"/>
<xs:attribute name="country" type="xs:string" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="electronicType">
<xs:annotation>
<xs:documentation>Stores all information about a so-called online citation.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="citationType">
<xs:sequence>
<xs:element name="title" type="freeTextType" minOccurs="0"/>
<xs:group ref="citationContentGroup"/>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="online journal article"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="volume" type="xs:string" use="optional"/>
<xs:attribute name="year" type="xs:int" use="required"/>
<xs:attribute name="issue" type="xs:unsignedInt" use="optional">
<xs:annotation>
<xs:documentation>Currently used only in the "Worm Breeder's Gazette".</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="articleNo" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>Currently used only in the "Worm Breeder's Gazette".</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="name" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Can be used for stating the name of the electronic journal.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="incompleteJournalType">
<xs:annotation>
<xs:documentation>Stores all information about an incomplete journal article.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="citationType">
<xs:sequence>
<xs:element name="title" type="freeTextType" minOccurs="0"/>
<xs:group ref="citationContentGroup"/>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="incomplete journal article"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="first" type="xs:string" use="optional"/>
<xs:attribute name="last" type="xs:string" use="optional"/>
<xs:attribute name="volume" type="xs:string" use="optional"/>
<xs:attribute name="year" type="xs:int" use="optional"/>
<xs:attribute name="name" type="xs:string" use="optional"/>
<xs:attribute name="ISSN" type="xs:string" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="journalType">
<xs:annotation>
<xs:documentation>Stores all information about a journal article.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="citationType">
<xs:sequence>
<xs:element name="title" type="freeTextType"/>
<xs:group ref="citationContentGroup"/>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="journal article"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="first" type="xs:string" use="required"/>
<xs:attribute name="last" type="xs:string" use="required"/>
<xs:attribute name="volume" type="xs:string" use="required"/>
<xs:attribute name="year" type="xs:int" use="required"/>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="ISSN" type="xs:string" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="observationType">
<xs:annotation>
<xs:documentation>Stores all information about a citation of the type "Unpublished Observations".</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="citationType">
<xs:sequence>
<xs:group ref="citationContentGroup"/>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="unpublished observations"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="date" type="xs:gYearMonth" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="patentType">
<xs:annotation>
<xs:documentation>Stores all information about a patent.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="citationType">
<xs:sequence>
<xs:element name="title" type="freeTextType" minOccurs="0"/>
<xs:group ref="citationContentGroup" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="patent"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="number" type="xs:string" use="required"/>
<xs:attribute name="date" type="xs:date" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="resultType">
<xs:annotation>
<xs:documentation>Stores all information about a citation of the type "Unpublished Results". For the unpublished results type it is necessary that the title element is optional, since one won't find this data in flat files (and might not be added in future, either).</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="citationType">
<xs:sequence>
<xs:element name="title" type="freeTextType" minOccurs="0"/>
<xs:group ref="citationContentGroup"/>
<xs:choice>
<xs:element name="citedInBook" type="bookType"/>
<xs:element name="citedInArticle" type="incompleteJournalType">
<xs:annotation>
<xs:documentation>The type of this element needs to be the incompleteJournalType as the SP-ML converter cannot create the title yet (it doesn't evaluate the PubMed database).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="citedInElectronic" type="electronicType"/>
<xs:element name="citedInThesis" type="thesisType"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="unpublished results"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="submissionType">
<xs:annotation>
<xs:documentation>Stores all information about a submission to one of the following databases:
-EMBL/GenBank/DDBJ databases
-SWISS-PROT data bank
-HIV data bank
-PDB data bank
-PIR data bank</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="citationType">
<xs:sequence>
<xs:element name="title" type="freeTextType" minOccurs="0"/>
<xs:group ref="citationContentGroup"/>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="submission"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="date" type="xs:gYearMonth" use="required"/>
<xs:attribute name="db" type="xs:string" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="thesisType">
<xs:annotation>
<xs:documentation>Stores all information about a thesis.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="citationType">
<xs:sequence>
<xs:element name="title" type="freeTextType" minOccurs="0"/>
<xs:group ref="citationContentGroup"/>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="thesis"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="institute" type="xs:string" use="required"/>
<xs:attribute name="city" type="xs:string" use="optional"/>
<xs:attribute name="country" type="xs:string" use="required"/>
<xs:attribute name="year" type="xs:int" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="groupType">
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="personType">
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="forename" type="xs:string" use="optional"/>
<xs:attribute name="surname" type="xs:string" use="optional"/>
</xs:complexType>
<xs:complexType name="nameListType">
<xs:choice maxOccurs="unbounded">
<xs:element name="person" type="personType"/>
<xs:element name="group" type="groupType"/>
</xs:choice>
</xs:complexType>
<!-- Citation type section ends -->
<xs:complexType name="freeTextType" mixed="true">
<xs:sequence minOccurs="0">
<xs:element name="iRefList" type="iRefListType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="iRefType">
<xs:attribute name="type" type="xs:string" use="optional"/>
<xs:attribute name="ref" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="iRefListType">
<xs:sequence>
<xs:element name="iRef" type="iRefType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

We've found two errors, both which can be worked around.
Currently there is a bug in XMLDB which fails to create a unique name for the case where the subtype and supertype both define an element or attribute with the same name. In your schema both baseCommentType defines an element called evList. massSpecType extends baseCommentType and adds an element with the same name.
This causes an error creating the massSpecType SQLType. The workaround for this is to declare the XMLDB namespace in the schema and use the xdb:SQLName annotation to define a unique name for the second element.
Eg
     <xs:complexType name="massSpecType" mixed="true">
          <xs:complexContent mixed="true">
               <xs:extension base="baseCommentType">
                    <xs:sequence minOccurs="0">
                         <xs:element name="range" minOccurs="0" maxOccurs="unbounded">
                              <xs:complexType>
                                   <xs:attribute name="begin" type="xs:int" use="required"/>
                                   <xs:attribute name="end" type="xs:int" use="required"/>
                              </xs:complexType>
                         </xs:element>
                         <xs:element name="evList" type="evListType" minOccurs="0" xdb:SQLName="EVLIST1"/>
                    </xs:sequence>
                    <xs:attribute name="topic" use="required">
                         <xs:simpleType>
                              <xs:restriction base="xs:string">
                                   <xs:enumeration value="mass spectrometry"/>
                              </xs:restriction>
                         </xs:simpleType>
                    </xs:attribute>
                    <xs:attribute name="molWeight" type="xs:float" use="required"/>
                    <xs:attribute name="mwError" type="xs:string" use="optional"/>
                    <xs:attribute name="msMethod" type="xs:string" use="optional"/>
               </xs:extension>
          </xs:complexContent>
     </xs:complexType>
Eg...
The second issue with the /u0000 is caused by the key/key reference definitions in the schema.
If you comment them out the schema will register
                         <!--
                         <xs:key name="referenceKey">
                              <xs:selector xpath="organismList/organism|dbReferenceList/dbReference"/>
                              <xs:field xpath="@iRefID"/>
                         </xs:key>
                         <xs:key name="evidenceReferenceKey">
                              <xs:selector xpath="evidenceList/evidence"/>
                              <xs:field xpath="@evID"/>
                         </xs:key>
                         <xs:keyref name="evidenceReference" refer="evidenceReferenceKey">
                              <xs:selector xpath=".//ev"/>
                              <xs:field xpath="@ref"/>
                         </xs:keyref>
-->

Similar Messages

  • Error while Registering XML Schema

    Hi Team,
    The mail purpose of my project is to load data from XML feed file into Oracle tables. I did following steps which went perfectly fine ...
    I did following steps.
    1)create DIRECTORY xml_dir as 'c:\xmldata';
    2) create table xmltab of XMLType;
    3) Following packages are executed through "Sys" Schema
    1)dbmslob.sql;
    2)prvtlob.plb;
    4) An xmldata folder is created under "c:\" and file with data_file.xml is stored in it.
    5) insert into xmltab values(XMLType(bfilename('XML_DIR ','data_file.xml'), nls_charset_id('AL32UTF8')));
    When I try to execute following select statment "No Rows Selected" message is displayed; although there is one element in xml data file.
    SELECT OBJECT_VALUE
    FROM xmltab
    WHERE existsNode(OBJECT_VALUE, '/ConsolidatedAssetHeader[AssetSourceSystem= "CAPS"]')=1
    Now I think in order to use all functions like existsNode and exctractValue I will have to register Schema in DB.
    Following is the XML Schema file.
    <xsd:schema targetNamespace="schemas-dart-com:sql:ConsolidatedAssetHeader" xmlns:schema="schemas-dart-com:sql:ConsolidatedAssetHeader" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sqltypes="http://schemas.microsoft.com/sqlserver/2004/sqltypes" elementFormDefault="qualified">
    <xsd:import namespace="http://schemas.microsoft.com/sqlserver/2004/sqltypes" schemaLocation="http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd" />
    - <xsd:element name="ConsolidatedAssetHeader">
    - <xsd:complexType>
    - <xsd:sequence>
    <xsd:element name="InternalId" type="sqltypes:int" />
    - <xsd:element name="DCN">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="30" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="EventDateLastChanged" type="sqltypes:datetime" minOccurs="0" />
    - <xsd:element name="FinancialStatusIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="InScopeIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationPriorityIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="PhysicalInstallDate" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetComment" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="255" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetContractExtension" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetContractNumber" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetDescription" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="AssetFinancialInstallDate" type="sqltypes:datetime" minOccurs="0" />
    <xsd:element name="AssetFinancialRemovalDate" type="sqltypes:datetime" minOccurs="0" />
    - <xsd:element name="AssetFinancialStatus" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetName" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="255" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetParentSource" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetParentSourceID" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="AssetPhysicalInstallDate" type="sqltypes:datetime" minOccurs="0" />
    <xsd:element name="AssetPhysicalRemovalDate" type="sqltypes:datetime" minOccurs="0" />
    - <xsd:element name="AssetPhysicalStatus" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetPhysicalStatusIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSerialIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSerialNumber" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSource" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceID" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceSystem" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceType" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetTag" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="BillabilityIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="InScopeFlag" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="IPAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="NetworkNumber" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="SubnetAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element ref="schema:ConsolidatedAssetLocation" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    + <xsd:element name="ConsolidatedAssetLocation">
    - <xsd:complexType>
    - <xsd:sequence>
    <xsd:element name="InternalId" type="sqltypes:int" minOccurs="0" />
    <xsd:element name="ParentId" type="sqltypes:int" minOccurs="0" />
    - <xsd:element name="AssetLocationIDBillTo" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetLocationIDShipTo" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetLocationIDSoldTo" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceDt" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceIDDt" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceSystemDt" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="ContractNumberExtensionDt" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToAddressLine2" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToAddressLine3" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToCity" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToCountry" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToAddressLine4" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToState" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToZip" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationPriorityIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToAddressLine2" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToAddressLine3" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToAddressLine4" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToCity" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToCountry" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToState" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToZip" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToAddressLine2" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToAddressLine3" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToAddressLine4" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToCity" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToCountry" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToState" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToZip" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="PartySource" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="PartySourceID" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="RowCreateDateTime" type="sqltypes:datetime" minOccurs="0" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I use following package to register schema, which is giving error
    BEGIN
    DBMS_XMLSCHEMA.registerSchema(
    'schemas-dart-com:sql:ConsolidatedAssetHeader',
    XDBURIType('http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd').getClob(),
    TRUE,
    TRUE,
    FALSE,
    TRUE);
    END;
    Following Error is displayed.
    BEGIN
    ERROR at line 1:
    ORA-31001: Invalid resource handle or path name
    "http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd"
    ORA-06512: at "SYS.XDBURITYPE", line 4
    ORA-06512: at line 2
    Can you please tell me what changes I need to make in order to resolve this error?Is there any specific location where I should put my schema file?
    Thanks in Advance
    Vaibhavi

    Create a file in c:\xmldata with the name my_xmlschema.xsd with the following content
    <xsd:schema targetNamespace="schemas-dart-com:sql:ConsolidatedAssetHeader" xmlns:schema="schemas-dart-com:sql:ConsolidatedAssetHeader" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sqltypes="http://schemas.microsoft.com/sqlserver/2004/sqltypes" elementFormDefault="qualified">
    <xsd:import namespace="http://schemas.microsoft.com/sqlserver/2004/sqltypes" schemaLocation="http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd" />
      <xsd:element name="ConsolidatedAssetHeader">
      <xsd:complexType>
      <xsd:sequence>
    <xsd:element name="InternalId" type="sqltypes:int" />
      <xsd:element name="DCN">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="30" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="EventDateLastChanged" type="sqltypes:datetime" minOccurs="0" />
      <xsd:element name="FinancialStatusIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="InScopeIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationPriorityIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="PhysicalInstallDate" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetComment" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="255" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetContractExtension" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetContractNumber" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetDescription" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="AssetFinancialInstallDate" type="sqltypes:datetime" minOccurs="0" />
    <xsd:element name="AssetFinancialRemovalDate" type="sqltypes:datetime" minOccurs="0" />
      <xsd:element name="AssetFinancialStatus" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetName" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="255" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetParentSource" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetParentSourceID" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="AssetPhysicalInstallDate" type="sqltypes:datetime" minOccurs="0" />
    <xsd:element name="AssetPhysicalRemovalDate" type="sqltypes:datetime" minOccurs="0" />
      <xsd:element name="AssetPhysicalStatus" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetPhysicalStatusIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSerialIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSerialNumber" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSource" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceID" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceSystem" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceType" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetTag" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="BillabilityIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="InScopeFlag" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="IPAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="NetworkNumber" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="SubnetAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element ref="schema:ConsolidatedAssetLocation" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    + <xsd:element name="ConsolidatedAssetLocation">
      <xsd:complexType>
      <xsd:sequence>
    <xsd:element name="InternalId" type="sqltypes:int" minOccurs="0" />
    <xsd:element name="ParentId" type="sqltypes:int" minOccurs="0" />
      <xsd:element name="AssetLocationIDBillTo" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetLocationIDShipTo" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetLocationIDSoldTo" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceDt" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceIDDt" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceSystemDt" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="ContractNumberExtensionDt" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToAddressLine2" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToAddressLine3" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToCity" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToCountry" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToAddressLine4" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToState" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToZip" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationPriorityIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToAddressLine2" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToAddressLine3" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToAddressLine4" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToCity" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToCountry" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToState" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToZip" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToAddressLine2" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToAddressLine3" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToAddressLine4" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToCity" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToCountry" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToState" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToZip" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="PartySource" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="PartySourceID" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="RowCreateDateTime" type="sqltypes:datetime" minOccurs="0" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>

  • Error while registering the schema

    SQL> DECLARE
    2 bibtex VARCHAR2(5000) :=
    3 '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    4 xmlns:xdb="http://xmlns.oracle.com/xdb">
    5 <xs:annotation>
    6 <xs:documentation>
    7 This is a VERY simple XML Schema that will be used to validate th
    btex.xml
    8 </xs:documentation>
    9 </xs:annotation>
    10 <!-- The xml root element must be named BibTex -->
    11 <xs:element name="BibTex">
    12 <xs:complexType>
    13 <xs:sequence>
    14 <xs:element ref="Article" minOccurs="0" maxOccurs="unbounded"/>
    15 <xs:element ref="InProceedings" minOccurs="0" maxOccurs="unbounded"/>
    16 </xs:sequence>
    17 </xs:complexType>
    18 </xs:element>
    19 <xs:element name="Article">
    20 <xs:complexType>
    21 <xs:sequence>
    22 <xs:element ref="Authors"/>
    23 <xs:element ref="Title"/>
    24 <xs:element ref="Journal"/>
    25 <xs:element ref="Year"/>
    26 <xs:element ref="Volume"/>
    27 <xs:element ref="Pages"/>
    28 <xs:element ref="Number"/>
    29 <xs:element ref="Month"/>
    30 <xs:element ref="DOI"/>
    31 <xs:element ref="Owner"/>
    32 <xs:element ref="TimeStamp"/>
    33 </xs:sequence>
    34 <xs:attribute name="Key" type="xsd:string" use="required"/>
    35 </xs:complexType>
    36 </xs:element>
    37 <xs:element name="InProceedings">
    38 <xs:complexType>
    39 <xs:sequence>
    40 <xs:element ref="Authors"/>
    41 <xs:element ref="Title"/>
    42 <xs:element ref="BookTitle"/>
    43 <xs:element ref="Year"/>
    44 <xs:element ref="Pages"/>
    45 <xs:element ref="Month"/>
    46 <xs:element ref="DOI"/>
    47 <xs:element ref="Volume" minOccurs="0"/>
    48 <xs:element ref="Owner"/>
    49 <xs:element ref="TimeStamp"/>
    50 </xs:sequence>
    51 <xs:attribute name="Key" type="xs:string" use="required"/>
    52 </xs:complexType>
    53 </xs:element>
    54 <xs:element name="Authors">
    55 <xs:complexType>
    56 <xs:sequence>
    57 <xs:element ref="Author" minOccurs="1" maxOccurs="unbounded"/>
    58 </xs:sequence>
    59 </xs:complexType>
    60 </xs:element>
    61 <xs:element name="Author">
    62 <xs:complexType>
    63 <xs:sequence>
    64 <xs:element name="LastName" type="xs:string"/>
    65 <xs:element name="Initials" type="xs:string"/>
    66 </xs:sequence>
    67 </xs:complexType>
    68 </xs:element>
    69 <xs:element name="Title" type="xs:string"/>
    70 <xs:element name="Year">
    71 <xs:simpleType>
    72 <xs:restriction base="xs:integer">
    73 <!--
    74 Constrain the year to 4 digits, 0-9 each. No other characters
    75 -->
    76 <xs:pattern value="[0-9]{4}"/>
    77 </xs:restriction>
    78 </xs:simpleType>
    79 </xs:element>
    80 <xs:element name="Pages" type="xs:string"/>
    81 <xs:element name="Month" type="xs:string"/>
    82 <xs:element name="DOI" type="xs:string"/>
    83 <xs:element name="Owner" type="xs:string"/>
    84 <xs:element name="TimeStamp" type="xs:date"/>
    85 <xs:element name="BookTitle" type="xs:string"/>
    86 <xs:element name="Journal" type="xs:string"/>
    87 <xs:element name="Volume" type="xs:string"/>
    88 <xs:element name="Number" type="xs:string"/>
    89 </xs:schema>';
    90 BEGIN
    91 DBMS_XMLSCHEMA.RegisterSchema('bibtex.xsd', bibtex);
    92 END;
    93 /
    DECLARE
    ERROR at line 1:
    ORA-30940: Cannot resolve prefix 'xsd' for QName node 'type'
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 3
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 14
    ORA-06512: at line 91

    <xs:attribute name="Key" type="xsd:string" use="required"/>there is no namespace for prefix xsd!
    Look like a typo, change it to "xs:string"

  • Error while registering JDBC and some more problems (11g)

    Hi there.
    I'm new here and using Oracle,I've been studying SQL Server at the school and I'm going to have Oracle 9i lessons soon.
    I've installed Oracle 11g here but things aren't going well yet.
    When I open Oracle SQL Developer,I have the message "Error while registering JDBC Diagnosability MrBean.
    When I try to do a connection with SQL Developer I have the error "The network device could not establish the connection",I have an Oracle 11g Book reference for studies,and I'm doing exactly how it shows me. (maybe it will happen until the first problem be solved)
    The last one,when I use SQL Plus I can't get a sucessfull login.After the installation I could with scott and SYSMAN,but after a reboot I can't any longer.
    How can I get it working now?
    thanks

    Well I don't know what happened but it's working now. I did an ipconfig and noticed that the IP address was incorrect. The gateay IP address was also incorrect. I changed it to the values posted in ipconfig. I opened up SQL Developer and was then able to make the connection. I went back and changed the IP addresses back to the old values. I then opened up SQL Developer again. I was expecting to see the refuded connection message but instead it connected. I have no idea what to think now. Can SQL Developer connect to a non local database?
    I tried to connect to another remote SQL Server but got xxxx invalid username for some reason. I know the username/password is correct.
    Lastly, I tried to do a quick migration of a simple table. It stops at the generate step. After hitting close buton. It asks to log back onto SQL Server.
    I noticed that the schema being used gets created with dbo_schemaname
    i.e. scott would be user dbo_scott
    I tried to create a user called dbo_scott and it still stopped at the generate step.
    Any ideas? Thanks for your help

  • "Error while registering the Java 2 Runtime Environment registry keys"

    "Error while registering the Java 2 Runtime Environment registry keys"
    I am getting the above error when trying to install the 1.3 JRE (installed with the 1.3 plug in which I need). As part of my development I have been installing and uninstalling the JRE multiple times. Then, I got the above error when trying to install it, and now it appears to be installed but I cannot uninstall it. When I try to uninstall it, it just remains, and when I try to install it again I get the above error. I have tried cleaning up all javasoft registry entries, but it doesnt seem to have helped. Can anyone help me either completely uninstall the JRE so I can do a clean install or help me get rid of the error above when I install. Is there some registry entries I should be looking at? Anything else? this is quite urgent as I need to test my applet with the plugin installed and not installed - and I currently cant uninstall it. Any ideas?
    Thanks for your help
    Aaron

    I am getting this same error message when trying to upgrade from 1.3.1_03 to 1.3.1_19.
    I have multiple versions of jre's and jdks on my machine.
    Anyone else seen this problem or know how to resolve it.

  • Error while registering SOA Composite

    Hi all
    I used OOTB AutoApproval composite and added mail stuff to that composite. And run the composite and deployed it successfully. I don't want approver, task should be auto-approved. But for other custom composite i deployed and registered the composite. But for this i cann't.
    can any one help on this.
    But i am not able to register it. I am getting below error while registering
    Exception in thread "Main Thread" oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Tasklist mapping failed for workflowdefinition: default/AutoApproval!1.2 due to The task ApprovalTask specified for the workflow composite default/AutoApproval!1.2 is not valid
    [java] at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    [java] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    [java] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl_1035_WLStub.registerWorkFlowDefinitionx(Unknown Source)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:597)
    [java] at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    [java] at $Proxy2.registerWorkFlowDefinitionx(Unknown Source)
    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceDelegate.registerWorkFlowDefinition(Unknown Source)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:597)
    [java] at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    [java] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    [java] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    [java] at weblogic.security.Security.runAs(Security.java:41)
    [java] at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    [java] at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    [java] at $Proxy3.registerWorkFlowDefinition(Unknown Source)
    [java] at oracle.iam.platformservice.workflowregclient.WorkflowRegistration.main(WorkflowRegistration.java:42)
    [java] Caused by: oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Tasklist mapping failed for workflowdefinition: default/AutoApproval!1.2 due to The task ApprovalTask specified for the workflow composite default/AutoApproval!1.2 is not valid
    [java] at oracle.iam.platform.workflowservice.impl.WorkflowRepositoryImpl.mapWorkflow(WorkflowRepositoryImpl.java:132)
    [java] at oracle.iam.platform.workflowservice.impl.WorkflowRepositoryImpl.registerWorkFlowDefinition(WorkflowRepositoryImpl.java:113)
    [java] at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.registerWorkFlowDefinition(WorkflowServiceImpl.java:230)
    [java] at oracle.iam.platformservice.impl.WorkflowRegistrationServiceImpl.registerWorkFlowDefinition(WorkflowRegistrationServiceImpl.java:38)
    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB.registerWorkFlowDefinitionx(Unknown Source)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:597)
    [java] at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    [java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [java] at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    [java] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    [java] at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [java] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    [java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [java] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [java] at $Proxy507.registerWorkFlowDefinitionx(Unknown Source)
    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl.__WL_invoke(Unknown Source)
    [java] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl.registerWorkFlowDefinitionx(Unknown Source)
    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl_WLSkel.invoke(Unknown Source)
    [java] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
    [java] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    [java] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:523)
    [java] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    [java] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    [java] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
    [java] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    [java] at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    BUILD FAILED

    First of all you have modifed OOTB approval flow, why you are not going for custom approval flow with skip rule.
    Now
    Are you able to compile the workflow?
    before going to re - register follow proper steps.
    Also check the below link
    Metalink ID 1221305.1
    Custom Auto Approval flowflow in OIM
    Thanks,
    Kuldeep

  • Error while registering Oracle JDBC Diagnosability MBean

    Hi All,
    I get the following error (pasted at the end)when trying to use the OracleDriver class to create connections.
    I am using JDeveloper11g-11.1.1.2.0, and
    JDeveloper11g-11.1.1.2.0/wlserver_10.3/server/ext/jdbc/oracle/11g/ojdbc6.jar.
    I read other posts with similar errors; the recommendation was to update the jar to the latest patch. But that still does not seem to work.
    Any help/pointers appreciated.
    Thanks
    Meera
    ------------ Error trace ----------------------------------------------------
    SEVERE: Error while registering Oracle JDBC Diagnosability MBean.
    java.security.AccessControlException: access denied (javax.management.MBeanTrustPermission register)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:568)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1824)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:310)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
         at oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:345)
         at oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:197)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.jdbc.driver.OracleDriver.<clinit>(OracleDriver.java:193)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at oracle.communications.brm.pdc.server.transfomation.CrossReferenceDBConnectionObj.initializeConnection(Unknown Source)
         at oracle.communications.brm.pdc.server.transfomation.CrossReferenceHandler.<init>(Unknown Source)
         at oracle.communications.brm.pdc.server.transfomation.RRE_TransformationEngine.createWorkItemProcessors(Unknown Source)
         at oracle.communications.brm.pdc.server.junit.RRE_TransformationEngineTests.testCreateWorkItemProcessors(Unknown Source)
         at oracle.communications.brm.pdc.server.junit.RRE_TransformationEngineTests.testMain(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
         at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
         at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
         at org.junit.runners.Suite.runChild(Suite.java:115)
         at org.junit.runners.Suite.runChild(Suite.java:23)
         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
         at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
         at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
         at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)

    Hi,
    did you enable the permission at the jvm level?
    its' done by adding the following lines to your java.policy file under <JRE_HOME>/lib/security
    grant {
    // JMX Java Management eXtensions
    permission javax.management.MBeanTrustPermission "register";
    ciao,
    Giovanni
    P.S. This solution was taken from http://forums.sun.com/thread.jspa?threadID=491124

  • Error while registering Oracle JDBC Diagnosability MBean - version 1.2.1

    Hi,
    I am running version 1.2.1 of SQL Developer (build MAIN-32.13). I have a local copy of Oracle 11g running on Windows XP. I am running version 1.6.0_03 of java.
    When I fire it up, I get the following message in the "logging page - log" pane:
    Source: oracle.jdbc.driver.OracleDriver
    Message: Error while registering Oracle JDBC Diagnosability MBean.
    Is this something I should worry about?
    Graham

    I got the same thing using SQLDeveloper shipped with 11g. It is every annoying since sqlplusw.exe is not available anymore, neither iSQLPLUS or SQLPLUS.exe is good enough all of the sudden that I found not much choice of accessing the database on windows ...

  • Error while registering for index relevant events: Invalid RID: No reposito

    Hi,
        I created an index and assigned a datasource to search the Windows network drive. I activated the index and now when I am  monitoring the application log, I see the error <b>Error while registering for index relevant events: Invalid RID: No repository manager found for prefix: and XIndexing documents failed. AbstractTrexIndex: indexing some of the resources failed Continue crawling and Indexing document failed. Access denied </b> for the <b>IndexmanagementService</b>.
    When I see the queue status, the queue status is always idle, even after I activate the queue.
    In the indexing monitor, I see the error <b>Trex: Preparation failed: index operation</b>
    could anyone tell me what could be wrong?
    Thanks,

    Hi Christian,
    thanks for your reply.
    we are using 7.2 SP02. Do you think it could be the version that has some issues with custom mapping functions?
    regards
    Yao

  • Error code -22: Error while registering

    Hi Guys.
    I'm new to NW Mobile 7.1.
    I'm able to run developed applications and see data on physical devices (PDAs).
    I'm also able to deploy and run the same applications on the NWDS Client (Simulator) BUT SEE NO data, because It can't sync.
    My question is very simple: How can I set up NWDS Mobile Client (Simulator) so I can get data?
    When I get to the Device Information screen (NWDS Mobile Client Simulator),values for Device Name and Device Id are blank
    After a sync, the folowing messages appear on my console:
    Windows XP
    messageReceived in ContainerSyncEventListener: Connected to the server   Level: 1
    messageReceived in ContainerSyncEventListener: Sending logon data to server   Level: 1
    messageReceived in ContainerSyncEventListener: Waiting for response from server   Level: 1
    messageReceived in ContainerSyncEventListener: Receiving data from server   Level: 1
    messageReceived in ContainerSyncEventListener: Error code -22: Error while registering
    I know that it is a must to setup a Device Name with one that exists in DOE (then Device Id is assigned during registration with DOE). But how can I place a value on Device Name? Should I set it up? then, Is it by copying a .propierties file under a MI/Folder or something?
    I can't navigate my applications on the simulator so I need to deploy the files to a physical device every time I build, and this obviously takes more time than just running it on the simulator.
    In just a few words, it is driving me nuts.
    Thank you in advance,
    David.

    Hi,
    if you have used MI7.0 you expect: sync a device and it is registered. This does not work in Mi7.1
    In MI7.1 you need to create a device for a user first, before you are able to sync and get data.
    To do this, open the Mobile Administration Portal in MI7.1, go to Administration and create a device for your user. Once this is done, you need to Enable the device.
    If the device is enabled, in status INITIAL and has the correct user assigned, you can sync this device with the MI server.
    Hope this helps!
    Regards,
    Oliver

  • Error while Registering the Database with Catalog..

    I m creating recovery catalog in same database, and getting the errors.
    1. I have created TOOLS tablespace
    2.CREATE USER RMAN2
    SQL> CREATE USER rman IDENTIFIED BY cat
    2 TEMPORARY TABLESPACE temp
    3 DEFAULT TABLESPACE tools
    4 QUOTA UNLIMITED ON tools;
    CREATE USER rman IDENTIFIED BY cat
    ERROR at line 1:
    ORA-01920: user name 'RMAN' conflicts with another user or role name
    SQL> ed
    Wrote file afiedt.buf
    1 CREATE USER rman2 IDENTIFIED BY cat
    2 TEMPORARY TABLESPACE temp
    3 DEFAULT TABLESPACE tools
    4* QUOTA UNLIMITED ON tools
    SQL> /
    User created.
    3. GRANT RECOVERY_CATALOG_OWNER
    SQL> GRANT RECOVERY_CATALOG_OWNER TO rman2;
    Grant succeeded.
    4. To create the recovery catalog:
    1. Connect to the database that will contain the catalog as the catalog owner.
    H:\>rman catalog rman2/cat@rock
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 10:45:52 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to recovery catalog database
    2. Run the CREATE CATALOG command to create the catalog.
    RMAN> CREATE CATALOG;
    recovery catalog created
    3. Optionally, start SQL*Plus and query the recovery catalog to see which tables were created:
    H:\>sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 5 11:53:36 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: rman2/cat
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select count(*) from cat;
    COUNT(*)
    91
    SQL> ed
    Wrote file afiedt.buf
    1 select owner, table_name, tablespace_name
    2 from dba_tables
    3* where table_name='DB'
    SQL> /
    OWNER TABLE_NAME
    TABLESPACE_NAME
    RMAN2 DB
    TOOLS
    RMAN DB
    ABAMCO_TEST
    Next step is to registering the Database in the Recovery Catalog.
    Registering a Database in the Recovery Catalog
    H:\>rman TARGET / CATALOG rman2/cat@rock
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 11:56:09 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01031: insufficient privileges
    I m getting above error while registering the Database with Catalog,
    Can anybody help me how can I register the Database with Catalog.????
    Waiting for Reply!!!!!!!

    Dear Manoj I can log in at TARGET Database.
    H:\>rman
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 12:41:59 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN> connect target sys/rock
    connected to target database: ROCK (DBID=3255117147)
    RMAN>
    ============================================================
    USING CONNECT STRING as you said.
    H:\>rman target "sys/rock@rock as sysdba" catalog rman2/cat@rock
    Argument Value Description
    target quoted-string connect-string for target database
    catalog quoted-string connect-string for recovery catalog
    nocatalog none if specified, then no recovery catalog
    cmdfile quoted-string name of input command file
    log quoted-string name of output message log file
    trace quoted-string name of output debugging message log file
    append none if specified, log is opened in append mode
    debug optional-args activate debugging
    msgno none show RMAN-nnnn prefix for all messages
    send quoted-string send a command to the media manager
    pipe string building block for pipe names
    timeout integer number of seconds to wait for pipe input
    checksyntax none check the command file for syntax errors
    Both single and double quotes (' or ") are accepted for a quoted-string.
    Quotes are not required unless the string contains embedded white-space.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00552: syntax error in command line arguments
    RMAN-01009: syntax error: found "as": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"
    RMAN-01007: at line 0 column 16 file: command line arguments
    H:\>rman
    It didnt work either.
    I have only one database rock, and created recovery catalog in it. I want to register rock database with recovery catalog.

  • Error while registering the Concurrent Program

    Hi,
    I am getting the following error while registering the concurrent program.
    The executable is registered as shell script and this executable sends a mail with attachment. can any one of you tell me the cause of the error?
    ORA-20160: ORACLE error -4091 in SUBMIT: others
    Cause: SUBMIT: others failed due to ORA-04091: table APPLSYS.FND_CONCURRENT_PROGRAMS is mutating, trigger/function may not see it.
    The SQL statement being executed at the time of the error was: &SQLSTMT and was executed from the file &ERRFILE.
    ORA-06512: at "APPS.ALR_FND_CONCURRENT_PROGRAM_IAR", line 1
    ORA-04088: error during execution of trigger 'APPS.ALR_FND_CONCURRENT_PROGRAM_IAR'
    ORA-06512: at "APPS.FND_CONCURRENT_PROGRAMS_PKG", line 63
    FRM-40735: ON-INSERT trigger raised unhandled exception ORA-20160.
    Thanks in advance

    Check Note: 391795.1 - Frm-40735: On-Insert Trigger Raised Unhandled Exception Ora-04062 in APPS.FND_CONCURRENT_PROGRAMS_PKG
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=391795.1

  • Error while registering Oracle JDBC Diagnosability Mbeans?

    Hi,
    I have installed Oracle 11g 11.1.0.6.0. I am facing problem while executing any command in sql Developer. Below the frame an error message is shown : Error while registering Oracle JDBC Diagnosability Mbeans? and while executing any query like 'select user from dual' error is generated saying connection in busy. I have made connection with system user.so, how to resolve this problem?
    Thanks

    There are a lot of information in listener.log file , some information i am posting .
    Each time i am opening Oracle SQL Developer programme, a error is generated , saying " oracle.jdbc.driver.OracleDriver     Error while registering Oracle JDBC Diagnosability MBean.".
    Though i can create a new connection and query database tables. But why this error message is generated each time i open Oracle SQL Developer?
    06-MAR-2010 20:02:19 * service_update * earth1 * 0
    Sat Mar 06 20:03:10 2010
    06-MAR-2010 20:03:10 * service_update * earth1 * 0
    06-MAR-2010 20:03:19 * service_update * earth1 * 0
    Sat Mar 06 20:03:43 2010
    06-MAR-2010 20:03:43 * service_update * earth1 * 0
    Sat Mar 06 20:04:16 2010
    06-MAR-2010 20:04:16 * service_update * earth1 * 0
    06-MAR-2010 20:04:17 * (CONNECT_DATA=(SID=EARTH1)(CID=(PROGRAM=F:\app\shyam\product\11.1.0\db_1\perl\5.8.3\bin\MSWin32-x86-multi-thread\perl.exe)(HOST=SHYAM-E23629982)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1360)) * establish * EARTH1 * 0
    06-MAR-2010 20:04:19 * service_update * earth1 * 0

  • Error while Registering

    Hi All,
    When I am trying to sync my Mobile Client to the Middleware, I am getting this error:
    ERROR: Error occured on server: "Error while Registering"; error Code 22
    ERROR: Error occured on server: "Error while Registering"; error Code 22
    <b>Syncronization Successful</b>
    Can anybody suggest me why this is happening?
    Ankur

    Hi Ankur
       Are you by any chance using Mobile 7.1 client? In that case this error occurs when you havent registered the client device before synchronizing.  Registeration should be done in the Web Dynpro Portal available in the server and once you have successfully registered the device, sync from the client.  This might solve the issue.
    Best Regards
    Sivakumar.

  • Error while registering SMS portlet

    Hi,
    portal version 9.0.4.0.99
    I am getting the following error while registering SMS portlet using the external application SMSExternalApp.
    SOAP: Caught SOAPException (SOAP-ENV:Client): For input string: "3782 "
    [java.lang.NumberFormatException]
    Illegal External Application data, Could not authenticate the user to the Push
    Service. Please reenter the correct External Application data for authentication
    I followed the instructions as per "Installation Guide for SMS Portlet Beta" available in OTN. I was able to deploy the SMS Portlet provider but while publishing the SMS portlet and creating the external application "SMSExternalApp" it fails. Please let me know what is the cause for this error.

    Hi Ramya,
    In order to be able to use the OracleAS Portlet for SMS, you need to get yourself a trial/registered account with the OracleAS Wireless Service Team:
    http://www.oracle.com/technology/tech/wireless/messaging.htm
    Once you have created an account, you can use the access codes specified by the wireless team, for the username/password fields.
    Thanks,
    Harsha

Maybe you are looking for