Re: Launch/Spawn to current application

Wataru KAMEYAMA (wataru-k@ascii.co.jp)
Thu, 21 Aug 1997 10:52:03 +0900

Hi Andreas,

You wrote:
> I have a silly question concerning the "Launch" and "Spawn" actions:
>
> What happens if the target is the currently active application?
>
> My interpretation is to ignore the action. Is this ok? The Provision
> of Use of the "Launch" action is clear, but the PoU of the "Spawn"
> action is a little bit confusing to me.

For me, it's not so confusing because PoU of Spawn() clearly says that
the Target shall not be an active Application, and there is a
principle that we have only one active Application in MHEG-5.

> Can we add a sentence to the description of the actions (like the one
> in the "TransitionTo"):
>
> "Check that the target application is different from the active
> application; if it is not, ignore the action."

Yes, you may. But you should notice that this causes a slight
semantics change for Launch() and Spawn(). Without your proposal,
if Launch() and Spawn() are targeted to an active Application, this is
forbidden by the standard and the behavior of the engine is unknown.
With your proposal, if targeted so, the behavior of the engine to this
error condition is defined by the standard.

In essential, with your proposal or without your proposal, I agree
with you that Launch() and Spawn() shall not be targeted to an active
Application.

Regards,

** Wataru KAMEYAMA, Dr., ASCII Laboratories Inc., JAPAN
** TEL: +81 3 5351 9711
** FAX: +81 3 5351 9750
** wataru-k@ascii.co.jp ($B55;3!!>D!w%"%9%-!<L$Mh8&5f=j(B in KANJI)