Scott requested that <AnyResource/> not be required, since it is meaningless for...
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 27 Apr 2004 05:36:52 +0000 (05:36 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 27 Apr 2004 05:36:52 +0000 (05:36 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1019 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/arp/Rule.java
src/schemas/shibboleth-arp-1.0.xsd

index 978ee71..2271a51 100755 (executable)
@@ -337,8 +337,7 @@ public class Rule {
                                resource = new Resource();
                                resource.marshall((Element) resourceNodeList.item(0));
                        } else {
-                               log.error("ARP Rule Target contains invalid data: incorrectly specified <Resource>.");
-                               throw new ArpMarshallingException("ARP Rule Target contains invalid data: incorrectly specified <Resource>.");
+                               resource = new Resource();
                        }
                }
 
index ef56be1..ca0e737 100755 (executable)
@@ -51,7 +51,7 @@
                                                                                                                </xs:simpleContent>
                                                                                                        </xs:complexType>
                                                                                                </xs:element>
-                                                                                               <xs:choice>
+                                                                                               <xs:choice minOccurs="0" maxOccurs="1">
                                                                                                        <xs:element name="Resource">
                                                                                                                <xs:complexType>
                                                                                                                        <xs:simpleContent>