summaryrefslogtreecommitdiffstats
path: root/test/w3c/confEcma.xsl
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-06-23 23:38:20 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-06-23 23:38:20 (GMT)
commitfebde41c4c69d8f38967d5c195328d468834d037 (patch)
tree4580a433d410e91a6f8df9203c20693e7a21128d /test/w3c/confEcma.xsl
parenteb6e9807cdb43b408de45ae789916cdf3bebe6f0 (diff)
downloaduscxml-febde41c4c69d8f38967d5c195328d468834d037.zip
uscxml-febde41c4c69d8f38967d5c195328d468834d037.tar.gz
uscxml-febde41c4c69d8f38967d5c195328d468834d037.tar.bz2
Updated tests for IRP and work on bindings
Diffstat (limited to 'test/w3c/confEcma.xsl')
-rw-r--r--test/w3c/confEcma.xsl9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/w3c/confEcma.xsl b/test/w3c/confEcma.xsl
index 61d48c6..96c1708 100644
--- a/test/w3c/confEcma.xsl
+++ b/test/w3c/confEcma.xsl
@@ -66,6 +66,11 @@
<xsl:attribute name="location">Var<xsl:value-of select="." /></xsl:attribute>
</xsl:template>
+<!-- names an invalid location for <assign>, etc. -->
+<xsl:template match="//@conf:invalidLocation">
+ <xsl:attribute name="location">foo.bar.baz </xsl:attribute>
+</xsl:template>
+
<!-- uses system var as location for <assign>, etc. -->
<xsl:template match="//@conf:systemVarLocation">
<xsl:attribute name="location"><xsl:value-of select="." /></xsl:attribute>
@@ -210,7 +215,7 @@
</xsl:template>
<!-- returns the value of a KVP specified by <param> from _event.data -->
<xsl:template match="//@conf:eventDataNamelistValue">
- <xsl:attribute name="expr">_event.data.<xsl:value-of select="."/></xsl:attribute>
+ <xsl:attribute name="expr">_event.data.Var<xsl:value-of select="."/></xsl:attribute>
</xsl:template>
<!-- returns the location of the scxml event i/o processor -->
@@ -412,7 +417,7 @@ is the second argument -->
<!-- return true if event.data field matches the specified value -->
<xsl:template match="//@conf:eventdataVal">
- <xsl:attribute name="cond">_event.data === '<xsl:value-of select="."/>'</xsl:attribute>
+ <xsl:attribute name="cond">_event.data == <xsl:value-of select="."/></xsl:attribute>
</xsl:template>
<xsl:template match="//@conf:emptyEventData">