Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-04-06 14:56:35 -0400
committerShelly Shaver <shelly.shaver@rtspecialty.com>2018-04-06 14:56:35 -0400
commit6d0f4fd458a0796af165a68b3c370715ec24074d (patch)
tree3e80531d15e420b576c700cac9f9b59484928ee6 /src
parent986b2a7b4b4afa6f8be27319a779e1bba466dbd6 (diff)
downloadtame-6d0f4fd458a0796af165a68b3c370715ec24074d.tar.gz
tame-6d0f4fd458a0796af165a68b3c370715ec24074d.tar.bz2
tame-6d0f4fd458a0796af165a68b3c370715ec24074d.zip
c1map: Prevent iteration on conditionals
This does not work at all.
Diffstat (limited to 'src')
-rw-r--r--src/current/c1map.xsl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/current/c1map.xsl b/src/current/c1map.xsl
index 42eab89..9b95a8c 100644
--- a/src/current/c1map.xsl
+++ b/src/current/c1map.xsl
@@ -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