<?xml version="1.0"?>
<!-- @ Copyright 1998-2003 W3C (MIT, ERCIM, Keio), All Rights Reserved. See http://www.w3.org/Consortium/Legal/. @ -->
<vxml version="2.0"
  xmlns="http://www.w3.org/2001/vxml"
  xmlns:conf="http://www.w3.org/2002/vxml-conformance">

 <catch>
  <conf:fail expr="'caught event ' + _event"/>
 </catch>

 <form id="what">

  <block>
   <if cond="application.lastresult$ != undefined">
    <conf:fail expr="'application.lastresult is set to ' + application.lastresult$"/>
   </if>
  </block>

  <field name="whatever">
   <conf:speech value="alpha"/>
   <conf:grammar utterance="alpha"/>

   <filled>
    <conf:comment>
     The length of application.lastresult$ is
     <value expr="application.lastresult$.length"/>
    </conf:comment>

    <if cond="application.lastresult$.length == undefined">
     <conf:fail expr="'application.lastresult.length is undefined'"/>
    </if>

    <if cond="application.lastresult$.length == 0">
     <conf:fail expr="'application.lastresult.length is 0'"/>
    </if>

    <conf:pass/>
   </filled>
  </field>

 </form>

</vxml>
