Open mattoshry opened 7 years ago
Per [1], foreach/@item is required.
SCION should reject the following:
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0"> <state id="uber"> <onentry> <!-- missing item --> <foreach array="[1, 2, 3]"> <log expr="'bug'"/> </foreach> </onentry> <transition event="*" target="fail"> <log expr="'unhandled event ' + JSON.stringify(_event)"/> </transition> </state> <final id="fail"/> </scxml>
[1] https://www.w3.org/TR/scxml/#foreach
Per [1], foreach/@item is required.
SCION should reject the following:
[1] https://www.w3.org/TR/scxml/#foreach