W3C home > Mailing lists > Public > www-voice@w3.org > January to March 2011

RE: SCXML: the src attribute of invoke, invokeid targeting

From: Jim Barnett <Jim.Barnett@alcatel-lucent.com>
Date: Wed, 16 Feb 2011 12:41:09 -0800
Message-ID: <E17CAD772E76C742B645BD4DC602CD8103E3F875@NAHALD.us.int.genesyslab.com>
To: "Johan Roxendal" <johan@roxendal.com>, <www-voice@w3.org>
  In response to your questions Q1 and Q2:

Q1:  the correct syntax is #_invokeid.  We will make this consistent in
the next draft of the spec.

Q2:  The intent is that the invoking process pass the URI specified by
'src' to the invoked process.  It is up to the invoked process to decide
if anything needs to be fetched, and, if so, when to fetch it.  (For
example, the URI could denote the name of a specific hard-coded
procedure to run.)

-----Original Message-----
From: www-voice-request@w3.org [mailto:www-voice-request@w3.org] On
Behalf Of Johan Roxendal
Sent: Saturday, January 15, 2011 5:08 AM
To: www-voice@w3.org
Subject: SCXML: the src attribute of invoke, invokeid targeting


thanks for the help with my previous issues. there is, however, more
where those came from ;)

there seems to be some conflicting information about with which syntax
to target invoked processes with send elements. in
http://www.w3.org/TR/scxml/#DataSharing  the format #_invokeid is
suggested, but it's unclear whether the underscore should be included or
not. in http://www.w3.org/TR/scxml/#SendTargets the preferred approach
is #_invoke_invokeid. 

in my implementation, <invoke id="i" /> can be reached through <send
target="#i" />. simple enough, but it'd be good to know how it _should_

invoked scxml documents (linked to using the src attribute) could be
fetched either asynchronously or synchronously. the standard offers no
hints, so I assume you prefer the synchronous approach (which is fine
for languages such as Python but not as fun in event-driven languages
such as Actionscript). do you intend to leave the synchronicity of the
src attribute open or will that be clarified in the standard? 

The scxml invoke type seems specifically for invoking external
_documents_. are there any plans for invoking external SCXML processors
(i.e documents that are being executed) as well, or is the preferred
method of communication <send> with type scxml and target and
http-enabled location? I ask, of course, because I've come across a need
for invoking external processors and my implementation won't be
compatible with any other processor than PySCXML as things now stand. 

thanks for your time,
Johan Roxendal

CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain confidential and proprietary information of Alcatel-Lucent and/or its affiliated entities. Access by the intended recipient only is authorized. Any liability arising from any party acting, or refraining from acting, on any information contained in this e-mail is hereby excluded. If you are not the intended recipient, please notify the sender immediately, destroy the original transmission and its attachments and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Copyright in this e-mail and any attachments belongs to Alcatel-Lucent and/or its affiliated entities.
Received on Wednesday, 16 February 2011 20:42:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:42 UTC