<?xml version="1.0" encoding="UTF-8"?>
<!--

  $Author: ajmc $

  $Revision: 1.9 $

  $Log: 3,v $
  Revision 1.9  2002/06/17 14:19:20  ajmc
  Added the cache bit...

  Revision 1.8  2002/04/26 09:05:22  richard
  add a title to the wml:do element

  Revision 1.7  2002/04/19 11:12:36  richard
  autofailed, missing auto_failed, yesno

  Revision 1.6  2002/03/21 11:56:06  richard
  format

  Revision 1.5  2002/02/23 11:29:30  richard
  wml:card

  Revision 1.4  2002/02/22 15:19:09  richard
  write test

  Revision 1.3  2001/10/30 16:22:11  gb
  Modified all the test files in the wml2 directory such that it puts the <?xml?> declaration back at the top of the file, before the comment.

  Revision 1.2  2001/10/08 21:56:06  gb
  Added the standard header of Author, Revision and Log at the top of each template file.


-->
<test id="wml2/markup/contextandnav/wmlgoelement/3" class="A" scope="wml2"
	testtype="application" type="manual" source="wml2#6.16.4" device="both">
	<assertion>When the cache-control attribure is present within the WML:GO 
	element and its CACHE-CONTROL attribute value is set to "no-cache", the 
	client must reload the URL from the origin server.
	</assertion>
	<notes>Needs to use the cache specific tests.</notes>
	<specnote>Create a card that contains the WML:GO element, within an 
	ENTERFORWARD event binding, then call a second card that display's the 
	current time. Call the card, make sure the time is noted, then refresh 
	the card. Make sure the second time is greater than the first.
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card newcontext="true" id="main">
			<p>
			 1. Follow this
			 <anchor title="Link" > Link
			 <go href="[[page1]]" method="post" />
			 </anchor> <br/>

			 2. Now follow this
			 <anchor title="Link" > Link
			 <go href="[[page1]]" method="post" cache-control="no-cache"/>
			 </anchor> <br/>
			</p>
			<p mode="wrap">Were the times DIFFERENT?
			<br />
			[[yesno]]
			</p>
			</wml:card>
		]]>
	</method>
        <pages>
                <page id="1">
                        <![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"
                                        wml:use-xml-fragments="true">
                                        <head>
                                                <title>wmlgoelement 3</title>
                                        </head>
                                                <wml:card id="card1" title="wmlgoelement 3">
                                                <p>
                                                 Note the time, then go back
                                                <br />
                                                 [[currenttime]]
                                                 <wml:do type="prev" label="back">
                                                    <wml:prev/>
                                                 </wml:do>
                                                 </p>
                                                </wml:card>
                                </html>
                        ]]>
                </page>
	</pages>
</test>
