SCION-CORE icon indicating copy to clipboard operation
SCION-CORE copied to clipboard

initial attribute processing only supports a single state id

Open mattoshry opened this issue 8 years ago • 1 comments

Per 3.2 and 3.2.1 of scxml, the initial attribute is an IDREFS - one of more state ids.

The code that traverses the document, detects initial attributes and connects them to a state [2], assumes the value is a single state id.

[1] https://www.w3.org/TR/scxml/#scxml [2] https://github.com/jbeard4/SCION-CORE/blob/07e2a1e9dc7d2437933f97cb916e9f098647b5b7/lib/scion.js#L218

mattoshry avatar Jul 13 '16 15:07 mattoshry

@mattoshry Should be fixed in latest release (4.3.1). Please give it a try. Thanks.

jbeard4 avatar Jun 23 '18 15:06 jbeard4