<div dir="ltr">I have problem to validate IDP metadata that includes empty email addresses. The metadata is fetched dynamic from a larger federation of IDP:es with a MetadataProvider and Url. <div><br></div><div>The validation problem seems to occur with the following metadata-section.</div>
<div><div><div class="" style="color:rgb(0,0,0);font-family:monospace;font-size:13px"><span class=""><md:ContactPerson<span class=""> <span class="">contactType</span>="<span class="">support</span>"</span>></span></div>
<div class="" style="margin-left:1em;color:rgb(0,0,0);font-family:monospace;font-size:13px"><div class=""><span class=""><md:EmailAddress/></span></div><div class=""><span class=""><md:TelephoneNumber/></span></div>
</div><div class="" style="color:rgb(0,0,0);font-family:monospace;font-size:13px"><span class=""></md:ContactPerson></span></div></div><div>If I download the metadata and remove this, it works fine.<br></div><div><br>
</div><div>my shib_warn.logs tell me</div><div><div><p class="">2014-01-05 16:28:18 CRIT OpenSAML.MetadataProvider.XML : maintaining existing configuration, error reloading resource (<a href="http://xxx-">http://xxx-</a>.xxxxxxxxxxxxxxxxx.xml): Metadata instance failed manual validation checking.</p>
<p class="">2014-01-05 18:28:18 ERROR OpenSAML.MetadataProvider.XML : metadata instance failed manual validation checking: EmailAddress must have TextContent.</p></div></div><div><br></div><div><br></div><div>Can I some how change the validator to accept the empty emailAddress element. I still want to be able to dynamically fetch the metadata and I am not able to convince the federation operator to update the metadata.</div>
<div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:x-small;border-collapse:collapse;color:rgb(51,51,51)"> Magnus Berglund<br> Unikum - Unikt lärande AB<br> <a href="mailto:magnus.berglund@unikum.net" style="color:rgb(34,34,34)" target="_blank">magnus.berglund@unikum.net</a><br>
<a href="http://www.unikum.net/" style="color:rgb(34,34,34)" target="_blank">www.unikum.net</a><br><br>Unikum är Sveriges största e-tjänst för samarbete kring IUP, mål, dokumentation och kvalitet i skolan.</span>
</div></div>