[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Comment Edited] (SCXML-99) support read-only system variables
From:       "Ate Douma (JIRA)" <jira () apache ! org>
Date:       2014-03-30 19:15:15
Message-ID: JIRA.12410409.1228948229927.33866.1396206915846 () arcas
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/SCXML-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13954806#comment-13954806 \
] 

Ate Douma edited comment on SCXML-99 at 3/30/14 7:15 PM:
---------------------------------------------------------

The latest SCXML specification now is at: \
[http://www.w3.org/TR/2014/CR-scxml-20140313/] and the reference to the section about \
system variables: [http://www.w3.org/TR/2014/CR-scxml-20140313/#SystemVariables]

I'm introducing a new SCXMLSystemContext, which is a wrapper around a normal Context, \
which protects the system variables against modification. This SCXMLSystemContext \
will be injected between the rootContext (for external context data) and the \
globalContext (the base context for internal data).

I'll also add the required _sessionid and _name system variables.
Furthermore, I'll now drop the old and custom _eventdata and _eventdatamap variables. \


Which results in only the _ioprocessors system variable not yet provided, but that'll \
be a different story/issue to deal with.


was (Author: adouma):
The latest SCXML specification now is at: \
[http://www.w3.org/TR/2014/CR-scxml-20140313/] and the reference to the section about \
system variables: [http://www.w3.org/TR/2014/CR-scxml-20140313/#SystemVariables]

I'm introducing a new SCXMLSystemContext, which is a wrapper around a normal Context, \
which protects the system variables against modification. This SCXMLSystemContext \
will be injected between the rootContext (for external context data) and the \
globalContext (the base context for internal data). Furthermore, I'll now drop the \
old and custom _eventdata and _eventdatamap variables. 

> support read-only system variables
> ----------------------------------
> 
> Key: SCXML-99
> URL: https://issues.apache.org/jira/browse/SCXML-99
> Project: Commons SCXML
> Issue Type: Bug
> Affects Versions: 0.9
> Reporter: Ingmar Kliche
> Assignee: Ate Douma
> Fix For: 2.0
> 
> 
> The SCXML WD [1] describes a set of system variables which are read-only for the \
> application. See section 5.5 [2]: "The Data Module maintains a protected portion of \
> the data model containing information that may be useful to applications...." It \
> may necessary to abstract out the notion of a partitioned root context, just like \
> we have a notion of ordinary context. The implementation should take into account, \
> that some expression languages support read-only behaviors natively (such as \
> ECMAScript through scope chains), whereas other expression languages (or there \
> implementations resp.) don't.  [1] http://www.w3.org/TR/2008/WD-scxml-20080516/
> [2] http://www.w3.org/TR/2008/WD-scxml-20080516/#SystemVariables



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic