XSD for the Configuration File

Print Close

<?xml version="1.0" encoding="windows-1252"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://xmlns.oracle.com/search/rsscrawlerconfig" targetNamespace="http://xmlns.oracle.com/search/rsscrawlerconfig" elementFormDefault="qualified">

<xsd:element name="rsscrawler">

<xsd:annotation>
<xsd:documentation>
RSS crawler configuration paramters
</xsd:documentation>
</xsd:annotation>

<xsd:complexType>
<xsd:sequence>

<xsd:element name="sourceName" type="xsd:string" minOccurs="0"/>

<xsd:element name="feedType" default="dataFeed">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="controlFeed"/>
<xsd:enumeration value="dataFeed"/>
<xsd:enumeration value="directoryFeed"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>

<xsd:element name="feedLocation">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:anyURI"/>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>

<xsd:element name="errorFileLocation" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Optional. This should be absolute path of a location to which the status feeds will be uploaded. This location should be in the same machine from where data feeds are fetched. If not specified, the status feeds will be uploaded to the same location as the data feeds.
If HTTP is used to fetch the data feed, the value of this tag should be the HTTP URL to which the status feed can be posted. If this tag is not specified, the status feed will be posted to the HTTP URL of the data feed.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

<xsd:element name="securityType" default="noSecurity" maxOccurs="1" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="identityBased"/>
<xsd:enumeration value="attributeBased"/>
<xsd:enumeration value="noSecurity"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>

<xsd:element name="securityAttribute" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="grant" type="xsd:boolean" default="true"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>

</xsd:sequence>
</xsd:complexType>

</xsd:element>

</xsd:schema>