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

[SCXML] IRP test579 and test580 produce invalid xpath syntax

From: Ate Douma <ate@douma.nu>
Date: Mon, 10 Nov 2014 03:08:09 +0100
Message-ID: <54601E09.5030208@douma.nu>
To: "www-voice@w3.org (www-voice@w3.org)" <www-voice@w3.org>

I just noticed this with the IRP test579 and test580.

Both these tests define transitions with conditions conf:idVal="1==0" or 
conf:idVal="1==1". When transformed with the confXPath.xsl stylesheet this leads 
to invalid xpath syntax cond="$Var1/text() ==0" or cond="$Var1/text() ==1"

Seems unlikely to me anyone testing these for the xpath datamodel gets them to pass.

NB: these tests do produce correct ecmascript syntax when using the confEcma.xsl...

After I manually fixed these conditions in the txml to conf:idVal="1=0" and 
conf:idVal="1=1", both tests work fine and pass in my implementation (for both 
ecmascript and xpath).

So I think these tests should be fixed like this.


Received on Monday, 10 November 2014 02:08:41 UTC

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