Skip Headers
Oracle® Secure Enterprise Search Administrator's Guide
11g Release 2 (11.2.2)

Part Number E23427-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

Control Feed XML Schema Definition

The following are the XSDs for the control feed.


controlfeed.xsd

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
 xmlns:oss="http://xmlns.oracle.com/orarss"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" elementFormDefault="qualified">
<xsd:import namespace="http://xmlns.oracle.com/orarss" schemaLocation="orarss_controlfeed.xsd" />
  <xsd:element name="rss">
    <xsd:annotation>
      <xsd:documentation>RSS control feed</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="channel" type="rssChannelType"/>
      </xsd:sequence>
      <xsd:attribute name="version" type="xsd:decimal" use="required" fixed="2.0"/>
    </xsd:complexType>
  </xsd:element>
  <xsd:complexType name="rssChannelType">
    <xsd:sequence>
      <xsd:element name="title" type="xsd:string"/>
      <xsd:element name="link" type="xsd:anyURI"/>
      <xsd:element name="description" type="xsd:string"/>
      <xsd:element name="lastBuildDate" type="xsd:dateTime">
        <xsd:annotation>
          <xsd:documentation>
             This is the publishing date for this channel
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:any namespace="##other" minOccurs="0"/>
      <xsd:element ref="oss:channelDesc" />
      <xsd:element name="item" type="itemType" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="itemType">
    <xsd:all>
      <xsd:element name="link" type="xsd:anyURI"/>
      <xsd:element name="title" type="xsd:string" minOccurs="0"/>
      <xsd:element name="description" type="xsd:string" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            The description is ignored as far as Oracle processing is concerned
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element ref="oss:itemDesc" minOccurs="0"/>
    </xsd:all>
  </xsd:complexType>
</xsd:schema>

orarss_controlfeed.xsd

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"  targetNamespace="http://xmlns.oracle.com/orarss"
 xmlns:oss="http://xmlns.oracle.com/orarss"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  elementFormDefault="qualified">  
  <xsd:element name="channelDesc" type="oss:channelDescType" />
     <xsd:element name="itemDesc">
    <xsd:complexType>
          <xsd:attribute name="operation" type="oss:operationType"/>
    </xsd:complexType>
  </xsd:element>
  <xsd:complexType name="descriptionType" abstract="true"/>
  <xsd:complexType name="channelDescType">
    <xsd:complexContent>
      <xsd:extension base="oss:descriptionType">
        <xsd:all>
          <xsd:element name="sourceName" type="xsd:string" minOccurs="0">
            <xsd:annotation>
              <xsd:documentation>
                                The business Object that this channel corresponds to - if missing then the channel contains information from multiple objects.
              </xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:element name="feedType" maxOccurs="1" minOccurs="0">
            <xsd:simpleType>
              <xsd:restriction base="xsd:string">
                <xsd:enumeration value="control"/>
              </xsd:restriction>
            </xsd:simpleType>
           </xsd:element>
           <xsd:element name="batchId" type="xsd:string" minOccurs="0"/>
           <xsd:element name="itemCount" type="xsd:positiveInteger" minOccurs="0"/>
        </xsd:all>
      </xsd:extension>
    </xsd:complexContent>   
</xsd:complexType>
<xsd:simpleType name="operationType">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="control"/>
    </xsd:restriction>
</xsd:simpleType>
</xsd:schema>