Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
To mitigate against https://issues.shibboleth.net/jira/browse/IDP-1647,
check for elements in the md namespace which have the same xml:lang value.
There are already checks for the mdui and mdrpi namespaces.

See ukf/ukf-meta#248 for details
0 contributors

Users who have contributed to this file

37 lines (37 sloc) 1.93 KB
<?xml version="1.0" encoding="UTF-8"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata"
xmlns:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi"
xmlns:mdui="urn:oasis:names:tc:SAML:metadata:ui"
entityID="test">
<Extensions>
<mdrpi:RegistrationInfo registrationAuthority="http://ukfederation.org.uk"
registrationInstant="2012-07-13T11:19:55Z">
<mdrpi:RegistrationPolicy xml:lang="en"
>http://ukfederation.org.uk/doc/mdrps-20130902</mdrpi:RegistrationPolicy>
<mdrpi:RegistrationPolicy xml:lang="en"
>http://ukfederation.org.uk/doc/mdrps-20130902</mdrpi:RegistrationPolicy>
</mdrpi:RegistrationInfo>
</Extensions>
<SPSSODescriptor>
<Extensions>
<mdui:UIInfo>
<mdui:DisplayName xml:lang="en">First display name</mdui:DisplayName>
<mdui:DisplayName xml:lang="en">Second display name</mdui:DisplayName>
<mdui:Description xml:lang="en">First description</mdui:Description>
<mdui:Description xml:lang="en">Second description</mdui:Description>
<mdui:Keywords xml:lang="en-sco">wee sleekit</mdui:Keywords>
<mdui:Keywords xml:lang="en-sco">cowran tim'rous</mdui:Keywords>
<!--
<mdui:InformationURL xml:lang="en">https://www.example.ac.uk/information.html</mdui:InformationURL>
<mdui:InformationURL xml:lang="en">https://www2.example.ac.uk/information.html</mdui:InformationURL>
<mdui:PrivacyStatementURL xml:lang="en">https://www.example.ac.uk/privacy.html</mdui:PrivacyStatementURL>
<mdui:PrivacyStatementURL xml:lang="en">https://www2.example.ac.uk/privacy.html</mdui:PrivacyStatementURL>
-->
</mdui:UIInfo>
</Extensions>
<AttributeConsumingService index="1" isDefault="true">
<ServiceDescription xml:lang="en">English e-learning</ServiceDescription>
<ServiceDescription xml:lang="en">英語e-learning</ServiceDescription>
</AttributeConsumingService>
</SPSSODescriptor>
</EntityDescriptor>