commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edzard Hoefig (JIRA)" <j...@apache.org>
Subject [jira] Created: (SCXML-77) <param> is not working properly with only a single "name" attribute
Date Thu, 17 Jul 2008 18:53:33 GMT
<param> is not working properly with only a single "name" attribute
-------------------------------------------------------------------

                 Key: SCXML-77
                 URL: https://issues.apache.org/jira/browse/SCXML-77
             Project: Commons SCXML
          Issue Type: Bug
    Affects Versions: 0.8
            Reporter: Edzard Hoefig
            Priority: Minor
         Attachments: commons-scxml_param-name-location_patch_ehoefig

WD-scxml-20080516, section 4.3.1 says:
If the "expr" attribute is missing, the "name" attribute will be taken as a data model location
expression (see 8.2 Location Expressions) and the value at that location will be passed to
the invoked component. If the "name" attribute does not refer to a location in the data model,
an error error.illegalalloc will be generated.

SCXMLSemanticsImpl.java seems to not handle this properly, as it is ignoring the case where
a single "name" attribute is used (line 793).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message