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