W3C home > Mailing lists > Public > www-voice@w3.org > October to December 2014

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

From: Jim Barnett <1jhbarnett@gmail.com>
Date: Fri, 14 Nov 2014 15:36:24 -0500
Message-ID: <546667C8.6050208@gmail.com>
To: www-voice@w3.org
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:45 UTC