<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="../xhtml2.css" ?>
<!DOCTYPE html [
	<!ATTLIST section id ID #IMPLIED>
	<!ATTLIST h       id ID #IMPLIED>
	<!ATTLIST div     id ID #IMPLIED>
	<!ATTLIST nl      id ID #IMPLIED>
]>
<html xmlns="http://www.w3.org/2002/06/xhtml2"
      xmlns:xforms="http://www.w3.org/2002/xforms"
      xmlns:ev="http://www.w3.org/2001/xml-events"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xml:lang="en">
  <head>
    <title>Test case for assertion 12. mustUnderstand attribute used</title>
    <xforms:model id="m_001">
    	<xforms:instance id="i_001" xmlns="">
    		<r>
    			<a></a>
    			<b/>
    		</r>
    	</xforms:instance>
    </xforms:model>
  </head>
  <body>
    <xforms:group>
    	<xforms:label>extension is specified with a mustUnderstand, should fail with xforms-??-exception.</xforms:label>
	    <xforms:input ref="a">
				<xforms:label>Enter your name</xforms:label>
				<xforms:extension>
			    <ons:stuff xmlns:ons="http://example.com/ons" xforms:mustUnderstand="true" />
			  </xforms:extension>
	    </xforms:input>
    </xforms:group>
  </body>
</html>
