[
https://issues.apache.org/jira/browse/SCXML-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15401268#comment-15401268
]
ASF GitHub Bot commented on SCXML-251:
--------------------------------------
GitHub user lippertto opened a pull request:
https://github.com/apache/commons-scxml/pull/2
SCXML-251: Parse src attribute of data elements
Also: reject data elements which have src and data defined.
According to the scxml standard only either src or data are allowed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lippertto/commons-scxml master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-scxml/pull/2.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2
----
commit 6f6f0f698dd81a0220cc74d6c10f545f23374bf4
Author: Tobias Lippert <[email protected]>
Date: 2016-07-31T17:41:22Z
SCXML-251: Parse src attribute of data elements
Also: reject data elements which have src and data defined.
According to the scmxl standard only src or data are allowed.
----
> src attribute is not available for data elements
> ------------------------------------------------
>
> Key: SCXML-251
> URL: https://issues.apache.org/jira/browse/SCXML-251
> Project: Commons SCXML
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Tobias Lippert
> Priority: Minor
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> The read routine ignores the "src" attribute in <data> elements in the data
> model.
> The field should be available to allow for users of the library to identify
> data elements with a src, and process the value of the attribute.
> The Data class itself already has the src member, and the corresponding
> getters and setters.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)