Skip to content

Commit

Permalink
Check for line breaks within OrganizationDisplayName elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Nov 12, 2010
1 parent 6dcac42 commit 8b4cd87
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build/check_misc.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,16 @@
</xsl:template>


<!--
Check for OrganizationDisplayName elements containing line breaks.
-->
<xsl:template match="md:OrganizationDisplayName[contains(., '&#10;')]">
<xsl:call-template name="fatal">
<xsl:with-param name="m">OrganizationDisplayName contains line break</xsl:with-param>
</xsl:call-template>
</xsl:template>


<!--
@Location attributes should not contain space characters.
Expand Down

0 comments on commit 8b4cd87

Please sign in to comment.