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

<assign> does not support non-XML datamodels

    XMLWordPrintableJSON

Details

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

    Description

      The current impl of <assign> still supports "name" and "location" attributes, which is not in line with the SCXML WD. SCXML only defines the "location" attribute.

      The impl of <assign> uses the evalLocation() function of the evaluator to determine the location and evalLocation() has to return a Node. But this does not work for non-XML datamodels.

      Non-XML datamodels worked using the "name" atribute (which used the set() function of the context). But the "name" attribute is no longer standardized. Thus <assign> only has the "location" attribute and it needs to support XML and non-XML data models.

      The question is, whether <assign> should manipulate the DOM tree or whether it is the responsibility of the context to manipulate the data.

      Attachments

        Issue Links

          Activity

            People

              ate Ate Douma
              ingmar Ingmar Kliche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: