Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.3
Description
Scxml's foreach element has array attribute which is supposed to be evaluated:
https://www.w3.org/TR/scxml/#foreach
But qtscxml only tries to read a property of that name from datamodel.
So basically this wouldn't work:
<datamodel> <data id="SomeObject" expr="{ Variables : [ { one : 1}, { two : 2}, { three : 3} ] } " /> </datamodel> ... <foreach array="SomeObject.Variables" item="variable" index="varindex">