Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Promote no-KeyName in SP rule and make it apply to all entities.
Browse files Browse the repository at this point in the history
This now appears in the latest draft of FTS 1.5.
  • Loading branch information
iay committed Jun 25, 2014
1 parent 2f33119 commit 09862da
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mdx/_rules/check_future_0.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,4 @@
-->
<xsl:import href="check_framework.xsl"/>

<xsl:template match="md:SPSSODescriptor[descendant::ds:KeyName]">
<xsl:call-template name="error">
<xsl:with-param name="m">service provider with KeyName element</xsl:with-param>
</xsl:call-template>
</xsl:template>

</xsl:stylesheet>
11 changes: 11 additions & 0 deletions mdx/_rules/check_uk_trust.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,15 @@
</xsl:call-template>
</xsl:template>

<!--
FTS 1.5 draft of 2014-06-25, section 3.10, last paragraph.
<ds:KeyName> elements SHALL NOT be accepted in locally registered metadata
-->
<xsl:template match="ds:KeyName">
<xsl:call-template name="error">
<xsl:with-param name="m">entity has legacy KeyName element</xsl:with-param>
</xsl:call-template>
</xsl:template>

</xsl:stylesheet>

0 comments on commit 09862da

Please sign in to comment.