<?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">
  <catch><conf:fail expr="'catch-all caught ' + _event"/></catch>
  <form>
    <catch event="error.badfetch">
      <if cond="(one==1)&amp;&amp;(two==2)&amp;&amp;(three==3)&amp;&amp;(four==undefined)">
        <conf:pass/>
      </if>
      <conf:fail expr="'error.badfetch with bad state and one is ' + one + ' and two is ' + two + ' and three is ' + three + ' and four is ' + four"/>
    </catch>
    <subdialog name="one" src="547EventCorrect.vxml">
      <catch event="one"><assign name="one" expr="1"/></catch>
      <filled>
        <conf:fail expr="'filled in one got ' + one"/>
      </filled>
    </subdialog>
    <subdialog name="two" src="547EventexprCorrect.vxml">
      <catch event="two"><assign name="two" expr="2"/></catch>
      <filled>
        <conf:fail expr="'filled in two got ' + two"/>
      </filled>
    </subdialog>
    <subdialog name="three" src="547NamelistCorrect.vxml">
      <catch><conf:fail expr="'catch-all in three caught ' + _event"/></catch>
      <filled>
        <assign name="three" expr="three.three"/>
      </filled>
    </subdialog>
    <subdialog name="four" src="547NamelistAndEventShouldFail.vxml">
      <filled>
        <conf:fail expr="'filled in four got ' + four"/>
      </filled>
    </subdialog>
  </form>
</vxml>
