Added JDBC property element, and failover dependency.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sat, 13 Sep 2003 02:37:15 +0000 (02:37 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sat, 13 Sep 2003 02:37:15 +0000 (02:37 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@751 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/schemas/shibboleth-resolver-1.0.xsd

index 6e18924..3e019dc 100644 (file)
                                        <xs:complexType>
                                                <xs:complexContent>
                                                        <xs:extension base="resolver:BaseResolutionPlugIn">
-                                                               <xs:sequence minOccurs="0" maxOccurs="unbounded">
+                                                               <xs:sequence>
+                                                                       <xs:element name="FailoverDependency" minOccurs="0">
+                                                                               <xs:complexType>
+                                                                                       <xs:attribute name="requires" type="xs:string" use="required"/>
+                                                                               </xs:complexType>
+                                                                       </xs:element>
                                                                        <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
                                                                </xs:sequence>
                                                                <xs:attribute name="class" type="xs:string" use="required"/>
                                                <xs:complexContent>
                                                        <xs:extension base="resolver:BaseResolutionPlugIn">
                                                                <xs:sequence>
+                                                                       <xs:element name="FailoverDependency" minOccurs="0">
+                                                                               <xs:complexType>
+                                                                                       <xs:attribute name="requires" type="xs:string" use="required"/>
+                                                                               </xs:complexType>
+                                                                       </xs:element>
                                                                        <xs:element name="Search">
                                                                                <xs:complexType>
                                                                                        <xs:sequence minOccurs="0">
                                                                                        <xs:attribute name="filter" type="xs:string" use="required"/>
                                                                                </xs:complexType>
                                                                        </xs:element>
-                                                                       <xs:sequence>
-                                                                               <xs:element name="Property" maxOccurs="unbounded">
-                                                                                       <xs:complexType>
-                                                                                               <xs:attribute name="name" type="xs:string" use="required"/>
-                                                                                               <xs:attribute name="value" type="xs:string" use="required"/>
-                                                                                       </xs:complexType>
-                                                                               </xs:element>
-                                                                       </xs:sequence>
+                                                                       <xs:element name="Property" maxOccurs="unbounded">
+                                                                               <xs:complexType>
+                                                                                       <xs:attribute name="name" type="xs:string" use="required"/>
+                                                                                       <xs:attribute name="value" type="xs:string" use="required"/>
+                                                                               </xs:complexType>
+                                                                       </xs:element>
                                                                </xs:sequence>
                                                        </xs:extension>
                                                </xs:complexContent>
                                                <xs:complexContent>
                                                        <xs:extension base="resolver:BaseResolutionPlugIn">
                                                                <xs:sequence>
+                                                                       <xs:element name="FailoverDependency" minOccurs="0">
+                                                                               <xs:complexType>
+                                                                                       <xs:attribute name="requires" type="xs:string" use="required"/>
+                                                                               </xs:complexType>
+                                                                       </xs:element>
                                                                        <xs:element name="Query" type="xs:string"/>
                                                                        <xs:element name="AttributeExtractor" minOccurs="0">
                                                                                <xs:complexType>
                                                                                        <xs:anyAttribute namespace="##any" processContents="lax"/>
                                                                                </xs:complexType>
                                                                        </xs:element>
+                                                                       <xs:element name="Property" minOccurs="0" maxOccurs="unbounded">
+                                                                               <xs:complexType>
+                                                                                       <xs:attribute name="name" type="xs:string" use="required"/>
+                                                                                       <xs:attribute name="value" type="xs:string" use="required"/>
+                                                                               </xs:complexType>
+                                                                       </xs:element>
                                                                </xs:sequence>
                                                                <xs:attribute name="dbURL" type="xs:string" use="required"/>
                                                                <xs:attribute name="dbDriver" type="xs:string" use="optional"/>
                        </xs:element>
                        <xs:element name="AttributeDependency">
                                <xs:complexType>
-                                       <xs:attribute name="requires" type="xs:string" use="optional"/>
+                                       <xs:attribute name="requires" type="xs:string" use="required"/>
                                </xs:complexType>
                        </xs:element>
                </xs:choice>