<?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 1096
After a form level grammar is matched, a form level <filled> element will be 
queued for execution if the namelist is empty, the  mode is "all" and all input 
item variables have just been assigned a value.
-->

  <catch><conf:fail expr="'catch-all caught ' + _event"/></catch>

  <form>
 
    <conf:grammar utterance="alpha">
      <conf:key name="x" value="valueX"/>
      <conf:key name="y" value="valueY"/>
    </conf:grammar>

    <filled mode="all">
      <if cond="x==undefined || y==undefined">
        <conf:fail reason="x or y are both are undefined, so this form level filled element should not be executed."/>
      <else/>
        <conf:pass/>
      </if>
    </filled>

    <initial>
      <conf:speech value="alpha"/>
    </initial>

    <field name="x"/>

    <field name="y"/>

    <block>
      <conf:fail reason="should of exited in form level filled element."/>
    </block>

  </form>

</vxml>
