<?xml version="1.0" encoding="UTF-8"?>
<!-- @ 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 629 Section 1.2.5
 If an audio input resource is not available, an "error.noresource"
 event must be thrown.

 Web requirements:
 none

 a629.vxml
   test1 - assumes that the recognizer resource is unavailable, and tries to get voice input.
           at which point, an error.noresource should be thrown.
 @author Dan Evans dde@nortelnetworks.com
 @version 1.0, 10/14/2002
-->
  <catch>
    <conf:fail reason="'catch-all caught ' + _event" />
  </catch>

<form id="a629">
  <field name="test1">
    <conf:speech value="alpha"/>
    <conf:grammar utterance="alpha"/>
    <filled>
      <conf:fail reason="a629.fail.test1: received voice input but expected error.noresource"/>
    </filled>
  </field>
  <catch event="error.noresource">
    <conf:pass/>
  </catch>
</form>
</vxml>
