Add logging when catching unknown errors.
[shibboleth/sp.git] / schemas / shibboleth.xsd
index 676aa26..307e3b6 100644 (file)
@@ -4,14 +4,12 @@
        xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
        xmlns:xml="http://www.w3.org/XML/1998/namespace"
        xmlns:shib="urn:mace:shibboleth:1.0"
-       xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
        elementFormDefault="qualified"
        attributeFormDefault="unqualified"
        version="1.3">
 
     <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
     <import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
-    <import namespace="urn:oasis:names:tc:SAML:1.0:assertion" schemaLocation="cs-sstc-schema-assertion-1.1.xsd"/>
     
     <!-- Status-Related Information -->
     
@@ -72,6 +70,7 @@
                        <complexType>
                            <simpleContent>
                                <extension base="string">
+                                                               <attribute name="Accept" type="boolean" use="optional" default="true"/>
                                    <attribute name="Type" type="shib:AttributeRuleValueType" use="optional" default="literal"/>
                                    <anyAttribute namespace="##other" processContents="lax"/>
                                </extension>
         </sequence>
         <attribute name="Name" type="string" use="required"/>
         <attribute name="Namespace" type="string" use="optional"/>
-        <attribute name="Factory" type="string" use="optional"/>
         <attribute name="Alias" type="string" use="optional"/>
                <attribute name="Header" type="string" use="optional"/>
+               <attribute name="Scoped" type="boolean" use="optional" default="false"/>
                <attribute name="CaseSensitive" type="boolean" use="optional" default="true"/>
                <anyAttribute namespace="##other" processContents="lax"/>
     </complexType>
                    <sequence>
                        <element name="HandleService" type="shib:AuthorityType" maxOccurs="unbounded"/>
                        <element name="AttributeAuthority" type="shib:AuthorityType" minOccurs="0" maxOccurs="unbounded"/>
-                       <element name="Domain" type="shib:regexp_string" minOccurs="0" maxOccurs="unbounded"/>
+                       <element ref="shib:Domain" minOccurs="0" maxOccurs="unbounded"/>
                    </sequence>
                </extension>
         </complexContent>
     </complexType>
+       
+       <element name="Domain" type="shib:regexp_string">
+               <annotation>
+                       <documentation xml:lang="en">A metadata extension used to regulate allowable attribute scopes.</documentation>
+               </annotation>
+       </element>
 
     <complexType name="DestinationSiteType">
         <annotation>
                    <sequence>
                        <element name="AssertionConsumerServiceURL" maxOccurs="unbounded">
                                <complexType>
-                                       <sequence/>
                                        <attribute name="Location" type="string" use="required"/>
                                                <attribute name="Id" type="string" use="optional"/>
                                                <anyAttribute namespace="##any" processContents="lax"/>
                        </element>
                        <element name="AttributeRequester" maxOccurs="unbounded">
                                <complexType>
-                                       <sequence/>
                                        <attribute name="Name" type="string" use="required"/>
                                                <anyAttribute namespace="##any" processContents="lax"/>
                                </complexType>