Suggestions for onentry/onexit tags
Andreas Gansen <[email protected]>
| Newsgroups | gmane.comp.web.voice |
|---|---|
| Message-ID | <CAL4YH=NVhbgQ1ojRjCjnoOfKKGEVJqMJ3HJSjAikeaHHmXivMg@mail.gmail.com> |
Hey there, We are working on an SCXML-Editor. Between reading the draft and parsing the scxml we noticed that onentry/onexit tags can occur 0 till inf times for a state. Would it not be better to have 0 or 1 occurrence? That would avoid the question: How can I exit a state multiple times without re-enterring before? The code from each handler would then be concatenated. Please note either way: The final state 3.7.2 ( http://www.w3.org/TR/scxml/#final ) considers one entry of onentry/onexit tags only. While the schema does not: http://www.w3.org/2011/04/SCXML/scxml-core-strict.xsd Regards, Andreas