W3C home > Mailing lists > Public > www-voice@w3.org > January to March 2014

Suggestions for onentry/onexit tags

From: Andreas Gansen <c64zottel@gmail.com>
Date: Fri, 3 Jan 2014 09:58:10 +0100
Message-ID: <CAL4YH=NVhbgQ1ojRjCjnoOfKKGEVJqMJ3HJSjAikeaHHmXivMg@mail.gmail.com>
To: www-voice@w3.org
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
Received on Sunday, 5 January 2014 20:02:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:44 UTC