Separate metadata extension schema.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 28 Feb 2005 19:24:28 +0000 (19:24 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 28 Feb 2005 19:24:28 +0000 (19:24 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1246 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/xml/Parser.java
src/schemas/shibboleth-metadata-1.0.xsd [new file with mode: 0644]

index 141901f..e7edab0 100644 (file)
@@ -74,6 +74,7 @@ public class Parser {
             "urn:mace:shibboleth:resolver:1.0",
             "urn:mace:shibboleth:target:config:1.0",
             "urn:mace:shibboleth:trust:1.0",
+            "urn:mace:shibboleth:1.0:metadata",
             "urn:mace:shibboleth:1.0",
             "http://schemas.xmlsoap.org/soap/envelope/",
             "urn:oasis:names:tc:SAML:2.0:metadata"
diff --git a/src/schemas/shibboleth-metadata-1.0.xsd b/src/schemas/shibboleth-metadata-1.0.xsd
new file mode 100644 (file)
index 0000000..5fc8b4d
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<schema targetNamespace="urn:mace:shibboleth:1.0:metadata"
+       xmlns="http://www.w3.org/2001/XMLSchema"
+       elementFormDefault="unqualified"
+       attributeFormDefault="unqualified"
+       version="1.0">
+
+       <element name="Domain">
+               <annotation>
+                       <documentation>
+                       SAML metadata extension used to regulate allowable attribute scopes.
+                       </documentation>
+               </annotation>
+               <complexType>
+                       <simpleContent>
+                               <extension base="string">
+                                       <attribute name="regexp" type="boolean" use="optional" default="false"/>
+                               </extension>
+                       </simpleContent>
+               </complexType>
+       </element>
+</schema>