<?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:ex="http://example.org" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events">
	<head>
		<title>7.7.3.b max() function negative test</title>
		<link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
		<xforms:model>
			<xforms:instance>
				<ex:root>
					<ex:valuea>2</ex:valuea>
					<ex:valuea>Y</ex:valuea>
				</ex:root>
			</xforms:instance>
			<xforms:instance>
				<ex:root>
					<ex:valueb/>
					<ex:valueb/>
				</ex:root>
			</xforms:instance>
		</xforms:model>
	</head>
	<body>
		<xforms:group>
		    <xforms:label class="title">
			7.7.3.b max() function negative test
		    </xforms:label>
		</xforms:group>
		<xforms:group>
			<xforms:label>
			  You must see a value of "NaN" for Maximum A and Maximum B. 
			</xforms:label>
		</xforms:group>
	    <xforms:group>
			<xforms:output value="max(ex:valuea)">
				<xforms:label>Maximum A : </xforms:label>
			</xforms:output>
		</xforms:group>
		<xforms:group>
			<xforms:output value="max(ex:valueb)">
				<xforms:label>Maximum B : </xforms:label>
			</xforms:output>
		</xforms:group>
		
	</body>
</html>