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

Preserve order in <send> namelist attribute values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0
    • None

    Description

      The standard allows specifying the value of the namelist attribute of the <send> element as space-separated list of values, which implies an ordered sequence of items. These are later stored in org.apache.commons.scxml2.model.Send class in a HashMap where the supplied order is lost.
      Using a LinkedHashMap would fix this issue and preserve the order of items as specified in the XML file.

      Attachments

        1. Send.java.patch
          0.9 kB
          Franck Foutou

        Activity

          People

            woon_san Woonsan Ko
            franck.foutou Franck Foutou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified