<?xml version="1.0" encoding="UTF-8"?>
<test id="wae2/media/markup/rules/3" class="A" scope="wae2" 
	testtype="application" type="manual" source="wae2#6.2.4" device="both">
	<assertion>When navigating between XHTML Mobile Profile and WML1 or 
	WML2, the history, part of the WML context, must be maintained across 
	languages, as if a single user agent was supported.
	</assertion>
	<specnote>Get the user to access a deck that contains WML2 content; 
	this deck will be linked to a XHTML Mobile Profile deck, linked to a WML1 
	deck, linked to a WML2 deck. Use the back button to navigate back to 
	the first card. Make sure that the previously loaded cards/documents 
	are re-shown.
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card newcontext="true" id="main" title="main">
				<wml:onevent type="enterforward">
					<wml:go href="[[page1]]" />
				</wml:onevent>
				<p>Are the previously loaded cards are re-shown ?
					<br />
					[[yesno]]
				</p>
			</wml:card>
		]]>
	</method>
	<pages>
		<page id="1">
			<![CDATA[
				<?xml version="1.0"?>
				<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
				<html xmlns="http://www.w3.org/1999/xhtml">
					<head>
						<title>markup/rules/3</title>
					</head>
					<body>
						<h1>XHTML Page</h1>
						<p>First go to <a href="[[page2]]">page2</a>
							<br/>
							Then go back to the previous card using the BACK Key
						</p>
					</body>
				</html>
			]]>
		</page>
		<page id="2">
			<![CDATA[
				<?xml version="1.0"?>
				<!DOCTYPE wml PUBLIC "-//W3C//DTD WML 1.3//EN" "http://www.w3.org/TR/wml13.dtd">
				<wml>	
					<card id="card2">
						<p>This a WML1 card<br/>
							Please go to <a href="[[page3]]">page3</a>
							<br/>
							Go back to the previous card using the BACK Key
						</p>
					</card>
				</wml>
			]]>
		</page>
		<page id="3">
			<![CDATA[
				<?xml version="1.0" encoding="UTF-8"?>
				<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD WML 2.0//EN" "http://www.wapforum.org/wml20.dtd">
				<html xmlns="http://www.w3.org/1999/xhtml"
							xmlns:wml="http://www.wapforum.org/2001/wml">
					<head>
						<title>Page3</title>
					</head>
						<wml:card id="card3" title="page3">
							<wml:do type="prev">
								<wml:prev />
							</wml:do>
							<p>You should reach this card successfully<br />
								Now go back. 
							</p>
						</wml:card>
				</html>
			]]>
		</page>
	</pages>
</test>
