You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Edzard Hoefig (JIRA)" <ji...@apache.org> on 2008/07/17 20:53:33 UTC

[jira] Updated: (SCXML-77) is not working properly with only a single "name" attribute

     [ https://issues.apache.org/jira/browse/SCXML-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edzard Hoefig updated SCXML-77:
-------------------------------

    Attachment: commons-scxml_param-name-location_patch_ehoefig

This is a patch that should get rid of the issue.

> <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.