Skip to content

Commit

Permalink
Remove contnt in check_future_2 pending decision in ukf-meta#174
Browse files Browse the repository at this point in the history
This checks whether md:OrganizationDisplayname matches mdui:DisplayName for SPs
  • Loading branch information
Alex Stuart committed Mar 11, 2019
1 parent 49741c6 commit 809817d
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions mdx/_rules/check_future_2.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,4 @@
-->
<xsl:import href="check_framework.xsl"/>

<!--
Check whether md:OrganizationDisplayname matches mdui:DisplayName for SPs
See ukf/ukf-data#325
-->
<xsl:template match="md:EntityDescriptor[md:SPSSODescriptor]">
<xsl:variable name="mdui" select="md:SPSSODescriptor/md:Extensions/mdui:UIInfo/mdui:DisplayName[@xml:lang='en']"/>
<xsl:variable name="odn" select="md:Organization/md:OrganizationDisplayName[@xml:lang='en']"/>
<xsl:if test="$mdui and $odn and $mdui != $odn">
<xsl:call-template name="error">
<xsl:with-param name="m">
<xsl:text>mismatched xml:lang='en' DisplayNames: '</xsl:text>
<xsl:value-of select="$mdui"/>
<xsl:text>' in mdui vs. '</xsl:text>
<xsl:value-of select="$odn"/>
<xsl:text>' in ODN</xsl:text>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
</xsl:template>

</xsl:stylesheet>

0 comments on commit 809817d

Please sign in to comment.