W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2006

RE: [scxml] nested conditions

From: Barnett, James <James.Barnett@aspect.com>
Date: Wed, 19 Jul 2006 12:11:21 -0400
Message-ID: <57686697B4E28949A90094A6469165C768C6B6@ASP1EXCH1.aspect.com>
To: "Nestor Urquiza" <nestoru@yahoo.com>, <www-voice@w3.org>

  After a little discussion in the group, it turns out that we weren't
very clear on this either.  However, we have provisionally decided to
allow them since VoiceXML does.  We will clarify the issue in the next
public draft.

- Jim

-----Original Message-----
From: www-voice-request@w3.org [mailto:www-voice-request@w3.org] On
Behalf Of Nestor Urquiza
Sent: Friday, July 14, 2006 8:09 AM
To: www-voice@w3.org
Subject: [scxml] nested conditions

Hello all,
After reading http://www.w3.org/TR/scxml/#N109D0 it is
not clear to me if nested "<if>" are allowed. With an
example is the code below supposed to be scxml valid?
<n:if cond="status1 eq 'false'">
   <!-- a first nested condition -->
   <n:if cond="status2 eq 'true'  ">
      <n:assign name="result" expr="'status1 false'"/>
      <n:assign name="result" expr="'statuses
   <!-- another nested condition -->
   <n:if cond="status2 eq 'true'  ">
      <n:assign name="result" expr="'statuses true'"/>
      <n:assign name="result" expr="'status2 false'"/>

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
Received on Wednesday, 19 July 2006 16:11:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:03:52 UTC