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

Configuration File XML Schema Definition

The following example shows the XSD for the configuration file.

<?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 the absolute path of a location to which the status feeds
are uploaded. This location should be in the same computer from where data feeds
are fetched. If not specified, the status feeds are 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 is 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>