<?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>

  <!-- testing that if you modify a variable in one space and use it later
       that the variable is modified in the same space -->
  <var name="x" expr="new Object()"/>
  <script>
   <![CDATA[
     var y = x;
   ]]>
  </script>

  <form>
    <block>
      <if cond="y == x">
         <conf:pass/>
      <else/>
         <conf:fail expr="variables failed to use the same data space"/>
      </if>
    </block>
  </form>
</vxml>
