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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.