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

Support <invoke> with inline (<content> body) SCXML statemachine definition

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • None

    Description

      The SCXML Invoke allows specifying the target process (another SCXML statemachine) to be defined 'inline' through a child <content> element.
      The <content> element itself can either use a src expression (to load the SCXML from data) or inline body.
      To support this feature the Invoker, which currently only loads another SCXML statemachine from an external resource (remote url or file path) also need to be able to parse a statemachine definition directly inline.
      Because the SCXMLReader currently cannot parse XML directly, the embedded statemachine definition (XML fragment) first will be transformed back into a string, so the Invoker can use the SCXMLReader to parse a new SCXML instance.

      Embedded SCXML with the <invoke> is a common and most convenient usage, and implementing this feature will fix 24 more SCXML IRP tests!

      Attachments

        Issue Links

          Activity

            People

              ate Ate Douma
              ate Ate Douma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: