MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/rdbms/xml/schema/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/rdbms/xml/schema/xsseccls.xsd.11.1

<!--
NAME
    xsseccls.xsd
DESCRIPTION
   Register SecurityClass schema 

MODIFIED        MM/DD/YY
   luisgarc     05/19/17 - Bug26033561: Add defaultTable annotations
   snadhika     09/28/07 - Added enable attribute for Security Class 
   taahmed      03/12/07 - add defaultACL 
   sgul         11/16/06 - Adding XML translation capability
   taahmed      11/08/06 - Mutable Security Class
   pthornto     10/05/06 - remove xdb:SQLType
   pthornto     09/18/06 - Initial version
 -->
<schema targetNamespace="http://xmlns.oracle.com/xs" 
        xmlns="http://www.w3.org/2001/XMLSchema" 
        xmlns:sc="http://xmlns.oracle.com/xs"  
        xmlns:xdb="http://xmlns.oracle.com/xdb" 
        xmlns:xlink="http://www.w3.org/1999/xlink"
        elementFormDefault="qualified" version="1.0">
        <annotation>
          <documentation>
             This XML schema describes the structure of Security Class documents.         
          </documentation>
        </annotation>
	 <import
          namespace="http://www.w3.org/XML/1998/namespace"
          schemaLocation="http://www.w3.org/2001/csx.xml.xsd"/>
        <import
          namespace="http://xmlns.oracle.com/xdb"
          schemaLocation="http://xmlns.oracle.com/xdb/csx.xmltr.xsd"/>
        <import
          namespace="http://www.w3.org/1999/xlink"
          schemaLocation="http://www.w3.org/1999/csx.xlink.xsd"/>

        <element name="securityClass" type="sc:securityClassType" xdb:defaultTable="XS$SECURITYCLASS"/>
        <complexType name="securityClassType">
                <sequence>
			<element ref="sc:title" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>
			<element ref="sc:description" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>               
                        <element name="inherits-from" type="QName" minOccurs="0" maxOccurs="unbounded"/>
                        <element name="defaultAcl" type="sc:defaultAclType" minOccurs="0" 
                                 maxOccurs="unbounded"/>
                        <choice minOccurs="0" maxOccurs="unbounded">
                                <element ref="sc:privilege"/>
                                <element ref="sc:aggregatePrivilege"/>
                        </choice>
                        <!-- this  any contains all application specific information
                               for a security class in general e.g. reason for creation  -->
                        <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
                </sequence>
                <attribute name="name" type="sc:nameType" use="required"/>
                <attribute name="secClassNumber" type="hexBinary"/>
                <attribute name="targetNamespace" type="anyURI" use="required"/>
                <!-- "mutable" imples that the security-class can be modified at runtime.
                      An immutable security class will not be invalidated once loaded   -->
                <attribute name="mutable" type="boolean" default="true"/>
		<attribute name="enable" type="boolean" default="true"/>
        </complexType>
        <element name="privilege" type="sc:privilegeType" xdb:defaultTable=""/>
        <complexType name="privilegeType">
                <sequence>
			<element ref="sc:title" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>
			<element ref="sc:description" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>
                        <!-- this any contains all application specific information     
                                                       for a privilege e.g. translations  -->
                        <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
                </sequence>
                <attribute name="name" type="sc:nameType" use="required"/>
                <attribute name="privNumber" type="hexBinary"/>
        </complexType>
        <element name="aggregatePrivilege" type="sc:aggregatePrivilegeType" xdb:defaultTable=""/>
        <complexType name="aggregatePrivilegeType">
                <sequence>
			<element ref="sc:title" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>
			<element ref="sc:description" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>
                        <sequence maxOccurs="unbounded">
                                <element name="privilegeRef">
                                        <complexType>
                                                <attribute name="name" type="QName" use="required"/>
                                        </complexType>
                                </element>
                        </sequence>
                        <!-- this any contains all application specific information     
                                        an aggregate privilege   -->
                        <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
                </sequence>
                <attribute name="name" type="sc:nameType" use="required"/>
                <attribute name="privNumber" type="hexBinary"/>
        </complexType>
        <simpleType name="nameType">
                <restriction base="string">
                        <minLength value="0"/>
                        <maxLength value="1024"/>
                </restriction>
        </simpleType>

       <complexType name="defaultAclType">
         <attribute ref="xlink:type" use="required"/>
         <attribute ref="xlink:href" use="required"/>
       </complexType>

  <element name="title" xdb:defaultTable="">
     <complexType>
        <simpleContent>
           <extension base="string">
              <attribute ref="xml:lang"/>
              <attribute ref="xdb:srclang"/>
           </extension>
        </simpleContent>
     </complexType>
  </element>
  <element name="description" xdb:defaultTable="">
     <complexType>
        <simpleContent>
           <extension base="string">
              <attribute ref="xml:lang"/>
              <attribute ref="xdb:srclang"/>
           </extension>
        </simpleContent>
     </complexType>
  </element>
</schema>

OHA YOOOO