<?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"
>

<!-- Assertion 1101
After a form level grammar is matched, a form level <filled> element will not be 
queued for execution if the namelist is empty, the filled mode is "any" and no 
input item variable has just been assigned a value.
-->

  <catch><conf:fail expr="'catch-all caught ' + _event"/></catch>

  <form>

    <var name="bogus" expr="'novalue'"/>
   
    <conf:grammar utterance="alpha">
    </conf:grammar>

    <filled mode="any">
      <conf:fail reason="No field will ever be assigned in this form, so this form level filled element should not be executed."/>
    </filled>

    <initial name="onlyOnce">
      <prompt>
        <value expr="onlyOnce=true"/>
      </prompt>
      <conf:speech value="alpha"/>
    </initial>

    <block>
      <if cond="application.lastresult$.utterance == 'chicago'">
        <conf:pass/>
      </if>
      <conf:fail reason="The form level grammar match should have returned chicago."/>
    </block>

    <field name="x"/> 
        
    <field name="y"/>

    <field name="z"/>

  </form>

</vxml>
