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

[SCXML] Two more IRP XPath test syntax errors

From: Ate Douma <ate@douma.nu>
Date: Fri, 14 Nov 2014 21:12:14 +0100
Message-ID: <5466621E.7070907@douma.nu>
To: "www-voice@w3.org" <www-voice@w3.org>
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

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