[SCXML] IRP test579 and test580 produce invalid xpath syntax

Hi,

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.

Thanks,

Ate

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