<?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>

      <subdialog name="subtest" src="#subtarget"/>
      <block>
        <if cond="subtest==undefined || subtest.result!='passed'">
          <conf:fail reason="'Subdialog not executed.'"/>
    <else/>
      <conf:pass/>
        </if>
      </block>
  </form>
  
  <form id="subtarget">
    <var name="result" expr="'passed'"/>
    <block>
      <return namelist="result"/>
    </block>
  </form>

</vxml>

