Re: [SCXML] Two more IRP XPath test syntax errors

Fixed.  Thanks for finding these.  I'm sure that there are more.

- Jim

On 11/14/2014 3:12 PM, Ate Douma wrote:
> 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:36:54 UTC