<?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" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <head>
        <title>4.5.1.a4 xforms-binding-exception, invalid instance attribute of submission attribute</title>
        <xforms:model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="form1">
            <xforms:submission action="response.xml" id="submit" method="get" replace="instance" instance="INVALID"/>
            <xforms:instance xmlns="" id="instance1">
                <car>
                    <carOwner>Henry</carOwner>
                    <make>Acura</make>
                    <color>White</color>
                </car>
            </xforms:instance>
        </xforms:model>
        <link href="../../../driverPages/forms/TestSuite11.css" rel="stylesheet"/>
        <xforms:action ev:event="xforms-binding-exception">
          <xforms:message level="modal">xforms-binding-exception</xforms:message>
        </xforms:action>
    </head>
    <body>
        <xforms:group xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <xforms:label class="title">4.5.1.a4 xforms-binding-exception, invalid instance attribute of submission attribute</xforms:label>
        </xforms:group>
       	<xforms:group xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       		<xforms:label>
       			When you activate the Submit Now submit control you must see an xforms-binding-exception message or a 
       			fatal error due to an xforms-binding-exception. 
			<!-- 	
				An instance attribute of the submission element fails to point to an instance element in the same 
				model element as the submission.
			-->
			</xforms:label>
        </xforms:group>
        
        <xforms:submit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" submission="submit">
            <xforms:label>Submit Now</xforms:label>
        </xforms:submit>
        
    </body>
</html>
