<?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.2.3.e single-node binding - invalid bind IDREF</title>
    <link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
    <xforms:model>
      <xforms:instance>
        <car xmlns="">
          <make>Mercedes</make>
          <year>2004</year>
          <color>silver</color>
          <hp>450</hp>
        </car>
      </xforms:instance>
      <xforms:bind id="validBind" nodeset="/car/year"/>
    </xforms:model>
  </head>
  <body>
  	<xforms:group>
  		<xforms:label class="title">3.2.3.e single-node binding - invalid bind IDREF</xforms:label>
  	</xforms:group>
  	<xforms:group>
  		<xforms:label>
  		  You must have seen an xforms-binding-exception message or a fatal error due to an 
		  xforms-binding-exception. 
  		</xforms:label>
  	</xforms:group>

    <!-- Bind points to nonexistent bind, you should see an error message for xforms-binding-exception
         OR get a fatal error ... either results in a PASS -->
    <xforms:input bind="nonexistent">
    	<xforms:label>
    		<!-- bind points to a non-existent bind element;  -->
    	</xforms:label>
		<xforms:action ev:event="xforms-binding-exception">
       		<xforms:message level="modal">xforms-binding-exception</xforms:message>
    	</xforms:action>
	</xforms:input>

  </body>
</html>