Removed empty string extension.
[java-idp.git] / src / schemas / shibboleth-resolver-1.0.xsd
index 55ca325..6e18924 100644 (file)
                                                <xs:complexContent>
                                                        <xs:extension base="resolver:BaseResolutionPlugIn">
                                                                <xs:sequence>
-                                                                       <xs:element name="Search">
+                                                                       <xs:element name="Query" type="xs:string"/>
+                                                                       <xs:element name="AttributeExtractor" minOccurs="0">
                                                                                <xs:complexType>
-                                                                                       <xs:attribute name="query" type="xs:string" use="required"/>
-                                                                                       <xs:attribute name="attributeExtractor" type="xs:string" use="optional"/>
+                                                                                       <xs:attribute name="class" type="xs:string" use="required"/>
+                                                                               </xs:complexType>
+                                                                       </xs:element>
+                                                                       <xs:element name="StatementCreator" minOccurs="0">
+                                                                               <xs:complexType>
+                                                                                       <xs:sequence minOccurs="0" maxOccurs="unbounded">
+                                                                                               <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+                                                                                       </xs:sequence>
+                                                                                       <xs:attribute name="class" type="xs:string" use="required"/>
+                                                                                       <xs:anyAttribute namespace="##any" processContents="lax"/>
                                                                                </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:sequence>
+                                                               <xs:attribute name="dbURL" type="xs:string" use="required"/>
+                                                               <xs:attribute name="dbDriver" type="xs:string" use="optional"/>
+                                                               <xs:attribute name="maxActive" type="xs:integer" use="optional"/>
+                                                               <xs:attribute name="maxIdle" type="xs:integer" use="optional"/>
                                                        </xs:extension>
                                                </xs:complexContent>
                                        </xs:complexType>
        <xs:complexType name="BaseAttributeDefinition">
                <xs:complexContent>
                        <xs:extension base="resolver:BaseResolutionPlugIn">
-                               <xs:choice minOccurs="0" maxOccurs="unbounded">
-                                       <xs:element name="DataConnectorDependency">
-                                               <xs:complexType>
-                                                       <xs:attribute name="requires" type="xs:string" use="required"/>
-                                               </xs:complexType>
-                                       </xs:element>
-                                       <xs:element name="AttributeDependency">
-                                               <xs:complexType>
-                                                       <xs:attribute name="requires" type="xs:string" use="optional"/>
-                                               </xs:complexType>
-                                       </xs:element>
-                               </xs:choice>
                                <xs:attribute name="lifeTime" type="xs:long" use="optional"/>
                        </xs:extension>
                </xs:complexContent>
        </xs:complexType>
        <xs:complexType name="BaseResolutionPlugIn">
+               <xs:choice minOccurs="0" maxOccurs="unbounded">
+                       <xs:element name="DataConnectorDependency">
+                               <xs:complexType>
+                                       <xs:attribute name="requires" type="xs:string" use="required"/>
+                               </xs:complexType>
+                       </xs:element>
+                       <xs:element name="AttributeDependency">
+                               <xs:complexType>
+                                       <xs:attribute name="requires" type="xs:string" use="optional"/>
+                               </xs:complexType>
+                       </xs:element>
+               </xs:choice>
                <xs:attribute name="id" type="xs:string" use="required"/>
                <xs:attribute name="cacheTime" type="xs:string" use="optional"/>
        </xs:complexType>