commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Franck Foutou (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SCXML-225) Preserve order in <send> namelist attribute values
Date Thu, 22 Jan 2015 10:29:34 GMT
Franck Foutou created SCXML-225:
-----------------------------------

             Summary: Preserve order in <send> namelist attribute values
                 Key: SCXML-225
                 URL: https://issues.apache.org/jira/browse/SCXML-225
             Project: Commons SCXML
          Issue Type: Improvement
    Affects Versions: 2.0
            Reporter: Franck Foutou
            Priority: Minor
             Fix For: 2.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message