<!-- @ 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 80: 
  If a document refers to a non-existent application 
  root document, an error.badfetch event is thrown. -->

<!-- 5.3.7 states: "Note that for errors which occur during a 
  dialog or document transition, the scope in which errors are 
  handled is platform specific." This implies that the test for 
  this assertion must pass if the event is thrown in either the 
  document with the error (a80-leaf.vxml) or the document that 
  refers to it (a80-driver.vxml). -->

  <catch event="error.badfetch">
    <conf:comment>
      Caught error.badfetch in a80-driver.vxml.
    </conf:comment>
    <conf:pass />
  </catch>

  <catch>
    <conf:comment>
      Caught <value expr="_event" /> in a80-driver.vxml.
    </conf:comment>
    <conf:fail reason="'expected error.badfetch, but got '+ _event" />
  </catch>

  <form>
    <block>
      <conf:comment>
        Attempting to go to a80-leaf.vxml whose root is non-existent.
      </conf:comment>
      <goto next="a80-leaf.vxml" />
    </block>
  </form>
</vxml>