[SCXML] Two more IRP XPath test syntax errors

Hi Jim,

First of all thanks for fixing the test579 and test580!

But as maybe expected, I'm hitting more XPath test failures caused by errors in 
the IRP tests.

In this case it concerns 2 errors in the confXpath.xsl stylesheet [1] generating 
invalid test354 scxml for the xpath datamodel:

   * <xsl:template match="//@conf:eventDataNamelistValue">
       <xsl:attribute name="expr">$_event/data/data[@id=Var'<xsl:value-of 
select="."/>']/data/text()</xsl:attribute>
     </xsl:template>

     the expression above has the first quote wrong, which should be at @id='Var 
instead of @id=Var'

   * <xsl:template match="//@conf:eventdataSomeVal">
       <xsl:attribute name="cond">_event.data = 123</xsl:attribute>
     </xsl:template>

     this template produces _event.data which should be _event/data

Can these trivial errors please be fixed?

NB: after fixing these locally myself, test354 now passes successfully.

Thanks,

Ate

[1] http://www.w3.org/Voice/2013/scxml-irp/confXPath.xsl

Received on Friday, 14 November 2014 20:12:45 UTC