Skip to content

Commit

Permalink
Check for a construct which is known to cause the Shibboleth 1.3 SP t…
Browse files Browse the repository at this point in the history
…o dump core.
  • Loading branch information
iay committed May 9, 2009
1 parent f016a5c commit b181e9c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions build/check.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,24 @@
</xsl:template>


<!--
Check for a construct which is known to cause the Shibboleth 1.3 SP to dump core.
<md:KeyDescriptor use="signing">
<ds:KeyInfo>
<KeyName>blabla<KeyName>
</ds:KeyInfo>
</md:KeyDescriptor>
The issue here is that the KeyName does not have the ds: namespace.
-->
<xsl:template match="ds:KeyInfo/*[namespace-uri() != 'http://www.w3.org/2000/09/xmldsig#']">
<xsl:call-template name="fatal">
<xsl:with-param name="m">ds:KeyInfo child element not in ds namespace</xsl:with-param>
</xsl:call-template>
</xsl:template>


<!--
Common template to call to report a fatal error on some element within an entity.
-->
Expand Down

0 comments on commit b181e9c

Please sign in to comment.