<?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:invalid="http://www.imadethisnamespaceup.com" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xhtml="http://www.w3.org/1999/xhtml">
  <head>
  	<title>4.2.2.c2 invalid QNAME causes xforms-binding-exception</title>
  	<link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
  	<xforms:model>
  		<invalid:instance resource="4.2.2.c.data.xml"/>
  	</xforms:model>
  </head>
  <body>
  	<xforms:group>
  		<xforms:label class="title">4.2.2.c2 invalid QNAME causes xforms-binding-exception</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>

	<!-- this should fail because while "car" is a QName, "/car" is not, and lazy authoring can't proceed -->
	<xforms:output ref="/car">
		<xforms:label/>
		<xforms:message level="modal" ev:event="xforms-binding-exception">xforms-binding-exception</xforms:message>
	</xforms:output>
	
  </body>
</html>