The 'target' of a <send> cannot be a data element name ------------------------------------------------------
Key: SCXML-16 URL: http://issues.apache.org/jira/browse/SCXML-16 Project: Commons SCXML Issue Type: Bug Environment: Windows, JDK 1.4.2 Reporter: Sitthichai Rernglertpricha Priority: Minor Attachments: patch-send.txt Based on the SCXML specification, the 'target' attribute of a <send> element can be "expression returning a unique identifier of the event target". The specification also shows an example that reads the target from a data element within <datamodel>. The current SCXML runtime treats target as a literal string and does not "evaluate" it. The attached patch file shows a way to "evalulate" the target before calling the EventDispatcher#send method, and support specifying the target by a data element. Enclosing target within single-quote will prevent evaluation. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]