Next in thread → Next in month →

Re: [regrep] ebRIM and ebRS version 2.2 distribution

From
Farrukh Najmi <>
Date
2002-09-17T20:35:00+00:00
ID
Thread
Re: [regrep] ebRIM and ebRS version 2.2 distribution
<?xml version = "1.0" encoding = "UTF-8"?>

<!--$Revision: 1.3 $-->
<schema xmlns = "http://www.w3.org/2001/XMLSchema"
	 targetNamespace = "urn:oasis:names:tc:ebxml-regrep:cbd:xsd:3.0"
	 xmlns:tns = "urn:oasis:names:tc:ebxml-regrep:cbd:xsd:3.0"
	 xmlns:rim = "urn:oasis:names:tc:ebxml-regrep:rim:xsd:3.0"
	 xmlns:rs = "urn:oasis:names:tc:ebxml-regrep:registry:xsd:3.0">

	<!-- Import the rim.xsd file with XML schema mappaing from RIM -->
	<import namespace = "urn:oasis:names:tc:ebxml-regrep:rim:xsd:3.0" schemaLocation = "rim.xsd"/>
	<import namespace = "urn:oasis:names:tc:ebxml-regrep:registry:xsd:3.0" schemaLocation = "rs.xsd"/>
	

	<complexType name = "ContentIndexType" abstract="true">
		<annotation>
			<documentation xml:lang = "en">
Abstract Base type for all types of ContentIndexes for a Content Indexing Service.
			</documentation>
		</annotation>
	</complexType>
	

	<complexType name = "XPathContentIndexType">
		<annotation>
			<documentation xml:lang = "en">
Specialized ContentIndex that uses an XPath expression to index XML content.
			</documentation>
		</annotation>
		<complexContent>
			<extension base = "tns:ContentIndexType">
				<sequence>
					<!-- The Ref to the ClassificationScheme used by Classification that this index maps to. -->
					<element name="ClassificationSchemeRef" type="rim:ObjectRefType" minOccurs="1" maxOccurs="1"/>	
				</sequence>
				<attribute name = "xpath" use = "required" type = "string"/>			
			</extension>
		</complexContent>
	</complexType>	


	<element name = "IndexContentRequest">
		<annotation>
			<documentation xml:lang = "en">
The IndexContentRequest allows one to submit a list of RepositoryItems. 
The indexing service will generate index metadata which will be returned in an IndexContentResponse. 
			</documentation>
		</annotation>
		<complexType>
			<complexContent>
				<extension base = "rs:RegistryRequestType">

					<sequence>
						<!--Request must also have corresponding repository items attached -->
						<element name="SubjectExtrinsicObject" type="rim:ExtrinsicObjectType" minOccurs="1" maxOccurs="1"/>
						<element name="IndexExtrinsicObject" type="rim:ExtrinsicObjectType" minOccurs="1" maxOccurs="1"/>
					</sequence>
				</extension>
			</complexContent>
		</complexType>
	</element>


	<element name = "IndexContentResponse">
		<annotation>
			<documentation xml:lang = "en">
The IndexContentResponse is returned in response to a IndexContentRequest. 
It contains the index metadata which for the corresponding IndexContentResponse. 
			</documentation>
		</annotation>
		<complexType>
			<complexContent>
				<extension base = "rs:RegistryRequestType">
					<sequence>
						<element name="IndexMetadata" type = "rim:LeafRegistryObjectListType" minOccurs="1" maxOccurs="1"/>
					</sequence>
				</extension>
			</complexContent>
		</complexType>
	</element>

	
</schema>
Next in thread → Next in month →