<?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">

<!--
    1145: While executing a filled, if an exit is encountered the
          remaining filled actions are skipped.

    Note this test is manual, ensure it does not fail, and that there
    is an exit (e.g., to the main menu).
-->

  <catch>
    <conf:comment>
      Toplevel caught event <value expr="_event"/>
    </conf:comment>
    <conf:fail expr="_event"/>
  </catch>


  <form>
    <field name="f1">
      <conf:speech value="alpha"/>
      <conf:grammar utterance="alpha"/>
      <filled>
        <exit/>
        <conf:fail reason="filled action did not end!"/>
      </filled>
    </field>

    <block>
        <conf:fail reason="FIA did not end!"/>
    </block>
  </form>

</vxml>
