<?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">

<!--
    1076: For every type of form item, the form item is not eligible
    to be visited by the FIA if the form item has a cond
    attribute evaluating to false.
-->

  <catch>
    <conf:comment>
      Toplevel caught event <value expr="_event"/>
    </conf:comment>
    <conf:fail expr="_event"/>
  </catch>


  <form id="first">
    <var name="v"/>

    <initial name="i" cond="false">
      <conf:speech value="alpha"/>
    </initial>

    <field name="f" cond="false">
      <conf:speech value="alpha"/>
      <conf:grammar utterance="alpha"/>
      <filled>
        <assign name="f" expr="9999"/>
      </filled>
    </field>

    <record name="r" cond="false">
      <filled>
        <assign name="r" expr="9999"/>
      </filled>
    </record>

    <transfer name="t" cond="false" dest="tel:+358-555-1234567">
      <filled>
        <assign name="t" expr="9999"/>
      </filled>
    </transfer>

    <object name="o" cond="false" classid="object:get_date">
      <filled>
        <assign name="o" expr="9999"/>
      </filled>
    </object>

    <subdialog name="s" cond="false" src="#prompt">
      <filled>
        <assign name="s" expr="9999"/>
      </filled>
    </subdialog>

    <block name="b" cond="false">
      <assign name="b" expr="9999"/>
    </block>

    <block>
      <if cond="v != undefined">
        <conf:fail reason="var form item variable was not equal to undefined!"/>
      </if>
      <if cond="i != undefined">
        <conf:fail reason="initial form item variable was not equal to undefined!"/>
      </if>
      <if cond="f != undefined">
        <conf:fail reason="field form item variable was not equal to undefined!"/>
      </if>
      <if cond="r != undefined">
        <conf:fail reason="record form item variable was not equal to undefined!"/>
      </if>
      <if cond="t != undefined">
        <conf:fail reason="transfer form item variable was not equal to undefined!"/>
      </if>
      <if cond="o != undefined">
        <conf:fail reason="object form item variable was not equal to undefined!"/>
      </if>
      <if cond="s != undefined">
        <conf:fail reason="subdialog form item variable was not equal to undefined!"/>
      </if>
      <if cond="b != undefined">
        <conf:fail reason="block form item variable was not equal to undefined!"/>
      </if>
      <conf:pass/>
    </block>
  </form>


  <form id="prompt">
    <var name="a" expr="'AAA'"/>
    <block>
      <return namelist="a"/>
    </block>
  </form>

</vxml>
