Uploaded image for project: 'Commons SCXML'
  1. Commons SCXML
  2. SCXML-178

Initial state ID attribute in SCXML element shouldn't be mandatory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • None

    Description

      Currently, if the top level SCXML element doesn't have 'initial' attribute, SCXMLReader fails to parse the SCXML document.
      The latest spec [1] says the 'initial' attribute is not required, and "If not specified, the default initial state is the first child state in document order."

      [1] http://www.w3.org/TR/2013/WD-scxml-20130801/#scxml

      Attachments

        Activity

          People

            woon_san Woonsan Ko
            woon_san Woonsan Ko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: