Synched from /c.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 5 Sep 2003 20:24:18 +0000 (20:24 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 5 Sep 2003 20:24:18 +0000 (20:24 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@750 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/schemas/shibboleth.xsd

index cbf0ecb..0a7be8c 100644 (file)
     </simpleType>
     
     <complexType name="SiteRuleType">
-        <choice>
-               <element name="AnyValue">
-                       <complexType>
-                               <sequence/>
-                       </complexType>
-               </element>
-            <element name="Value" maxOccurs="unbounded">
-                <complexType>
+       <sequence>
+               <element name="Scope" minOccurs="0" maxOccurs="unbounded">
+                       <complexType>
                     <simpleContent>
                         <extension base="string">
+                               <attribute name="Accept" type="boolean" use="optional" default="true"/>
                             <attribute name="Type" type="shib:AttributeRuleValueType" use="optional" default="literal"/>
                         </extension>
                     </simpleContent>
-                </complexType>
-            </element>
-        </choice>
+                       </complexType>
+               </element>
+               <choice minOccurs="0">
+                       <element name="AnyValue">
+                               <complexType>
+                                       <sequence/>
+                               </complexType>
+                       </element>
+                   <element name="Value" maxOccurs="unbounded">
+                       <complexType>
+                           <simpleContent>
+                               <extension base="string">
+                                   <attribute name="Type" type="shib:AttributeRuleValueType" use="optional" default="literal"/>
+                               </extension>
+                           </simpleContent>
+                       </complexType>
+                   </element>
+               </choice>
+       </sequence>
     </complexType>
 
     <element name="AnySite" type="shib:SiteRuleType"/>