Skip to content
This repository was archived by the owner on Sep 25, 2018. It is now read-only.
This repository was archived by the owner on Sep 25, 2018. It is now read-only.

should accept an scxml document containing foreach with object literal @array #384

@mattoshry

Description

@mattoshry

SCION should allow the following:

<scxml xmlns="http://www.w3.org/2005/07/scxml"
  version="1.0">

<state id="uber">
  <onentry>
    <foreach item="it" array="{p1: 'v1', p2: 'v2'}">
      <log expr="it"/>
    </foreach>
  </onentry>
</state>

</scxml>

The scjson-analyzer should allow a literal when parsing the array expression

[1] https://www.w3.org/TR/scxml/#foreach

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions