c1map: Prevent iteration on conditionals

This does not work at all.
master
Mike Gerwitz 2018-04-06 14:56:35 -04:00 committed by Shelly Shaver
parent 986b2a7b4b
commit 6d0f4fd458
1 changed files with 5 additions and 0 deletions

View File

@ -361,6 +361,11 @@
</xsl:template>
<xsl:template match="lvm:if[ @for-each | @lvm:for-each ]" priority="9">
<xsl:message terminate="yes">error: cannot iterate on conditional</xsl:message>
</xsl:template>
<!--
Unhandled node character data