You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.
"A conformant SCXML document must specify exactly one of 'event', 'eventexpr' and ."
For #_internal (repro below) scion doesn't protest. For other sends which are delegated to the send manager, the manager can raise an error event into the internal event queue, but this can be detected partially at pre-exection / parse time. An @eventexpr that evaluates to empty/null/undefined could be detected at runtime.
[1] is not crystal clear for all cases, but for type[expr] === 'http://www.w3.org/TR/scxml/#SCXMLEventProcessor' the spec does state the following about event and eventexpr:
"If the type is http://www.w3.org/TR/scxml/#SCXMLEventProcessor, either this attribute or 'event[expr]' must be present."
And after the table:
"A conformant SCXML document must specify exactly one of 'event', 'eventexpr' and ."
For #_internal (repro below) scion doesn't protest. For other sends which are delegated to the send manager, the manager can raise an error event into the internal event queue, but this can be detected partially at pre-exection / parse time. An @eventexpr that evaluates to empty/null/undefined could be detected at runtime.
[1] http://www.w3.org/TR/scxml/#send
The text was updated successfully, but these errors were encountered: