jbeard4 / SCION

SCXML/Statecharts in JavaScript, moved to gitlab: https://gitlab.com/scion-scxml/scion
https://scion.scxml.io
Apache License 2.0
149 stars 29 forks source link

reject scxml documents with raise and no @event at parse time #386

Open mattoshry opened 7 years ago

mattoshry commented 7 years ago

https://www.w3.org/TR/scxml/#raise


<scxml xmlns="http://www.w3.org/2005/07/scxml"
  version="1.0" name="error-raise-event">

<state id="uber">
  <transition event="*" target="fail">
    <!-- missing @event -->
    <raise/>
  </transition>
</state>

<final id="fail"/>

</scxml>```