summaryrefslogtreecommitdiffstats
path: root/test/w3c/confXPath.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'test/w3c/confXPath.xsl')
-rw-r--r--test/w3c/confXPath.xsl9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/w3c/confXPath.xsl b/test/w3c/confXPath.xsl
index 514752a..fa67f3b 100644
--- a/test/w3c/confXPath.xsl
+++ b/test/w3c/confXPath.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>
@@ -293,7 +298,7 @@ is of the same type as array123 -->
<!-- returns the value of a KVP specified by Namelist from _event.data -->
<xsl:template match="//@conf:eventDataNamelistValue">
- <xsl:attribute name="expr">$_event/data/data[@id='<xsl:value-of select="."/>']/data/text()</xsl:attribute>
+ <xsl:attribute name="expr">$_event/data/data[@id=Var'<xsl:value-of select="."/>']/data/text()</xsl:attribute>
</xsl:template>
<!-- returns the location of the scxml event i/o processor -->
@@ -498,7 +503,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">