<?xml-stylesheet type="text/xsl" href="/xforms-tests/xsltforms/xsltforms.xsl"?>
<html xmlns:my="http://commerce.example.com/payment" xmlns:txs="http://sourceforge.net/projects/txs" xmlns="http://www.w3.org/1999/xhtml" xmlns:req="http://www.agencexml.com/requests" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xhtml="http://www.w3.org/1999/xhtml">
  <head>
    <title>3.3.2.h invalid instance causes exception with resource-uri</title>
    <link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
    <xforms:model>
      <xforms:instance id="i_001">
          <numberA xmlns="">100</numberA>
          <numberB xmlns="">55</numberB>
      </xforms:instance>
      <xforms:setvalue ev:event="xforms-link-exception" model="model2" ref="/msg" value="event('resource-uri')"/>
      <xforms:message ev:event="xforms-link-exception" level="modal">xforms-link-exception</xforms:message>
    </xforms:model>
    <xforms:model id="model2">
      <xforms:instance>
          <msg xmlns=""/>
      </xforms:instance>
    </xforms:model>
  </head>
  <body>
  	<xforms:group>
  		<xforms:label class="title">3.3.2.h invalid instance causes exception with resource-uri</xforms:label>
  	</xforms:group>
  	<xforms:group>
      <xforms:output>
        <xforms:label>
          You must see an xforms-link-exception message or a fatal error due to an 
		  xforms-link-exception. You must also see the URI information of the failed instance in the 
		  Resource URI output control. 
        </xforms:label>
      </xforms:output>
    </xforms:group>	
	<xforms:output model="model2" ref="/msg">
	  <xforms:label>Resource URI : </xforms:label>
	</xforms:output>
	
  </body>
</html>
