Skip to content

Commit

Permalink
Check that @Binding attribute values do not contain space characters.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Sep 10, 2010
1 parent 1414df8 commit 3c837a7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build/check_misc.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,20 @@
</xsl:call-template>
</xsl:template>


<!--
@Binding attributes should not contain space characters.
This may be a little strict, and might be better confined to md:* elements.
At present, however, this produces no false positives.
-->
<xsl:template match="*[contains(@Binding, ' ')]">
<xsl:call-template name="fatal">
<xsl:with-param name="m"><xsl:value-of select='local-name()'/> Binding contains space character</xsl:with-param>
</xsl:call-template>
</xsl:template>


<!--
Check for empty xml:lang elements, automatically generated by OIOSAML.
Expand Down

0 comments on commit 3c837a7

Please sign in to comment.