Disable check for contact child elements pending errata decision by TC.
authorScott Cantor <cantor.2@osu.edu>
Wed, 12 Aug 2009 21:22:04 +0000 (21:22 +0000)
committerScott Cantor <cantor.2@osu.edu>
Wed, 12 Aug 2009 21:22:04 +0000 (21:22 +0000)
saml/saml2/metadata/impl/MetadataSchemaValidators.cpp

index c5d751c..8a5f2f2 100644 (file)
@@ -98,8 +98,10 @@ namespace opensaml {
         END_XMLOBJECTVALIDATOR;
 
         BEGIN_XMLOBJECTVALIDATOR(SAML_DLLLOCAL,ContactPerson);
+            /* Pending errata decision.
             if (!ptr->hasChildren())
                 throw ValidationException("ContactPerson must have at least one child element.");
+                */
             if (!XMLString::equals(ptr->getContactType(),ContactPerson::CONTACT_TECHNICAL) &&
                 !XMLString::equals(ptr->getContactType(),ContactPerson::CONTACT_SUPPORT) &&
                 !XMLString::equals(ptr->getContactType(),ContactPerson::CONTACT_ADMINISTRATIVE) &&