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

  $Author: richard $

  $Revision: 1.7 $

  $Log: 19,v $
  Revision 1.7  2002/04/19 11:12:37  richard
  autofailed, missing auto_failed, yesno

  Revision 1.6  2002/02/27 18:15:57  richard
  set the type of the test element to auto

  Revision 1.5  2002/02/26 13:54:25  richard
  correction of the expected result (Content-type and charset)

  Revision 1.4  2002/02/23 11:30:45  richard
  write test, correct assertion

  Revision 1.3  2001/10/30 16:22:09  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:05  gb
  Added the standard header of Author, Revision and Log at the top of each template file.


-->
<test id="wml2/markup/contextandnav/wmlgoelement/19" class="A" scope="wml2" 
	testtype="application" type="auto" source="wml2#6.16.4" device="both">
	<assertion>When the WML:GO element is specified, the METHOD attribute is 
	set to 'post', and the ENCTYPE attribute is set to 
	'application/vnd.wap.wml.form.urlencoded', the CONTENT-TYPE header must 
	include the CHARSET parameter to indicate the character encoding.
	</assertion>
	<specnote>Create a card containing the WML:GO element and set the METHOD 
	attribute to 'post'. Within the WML:GO element include one WML:POSTFIELD 
	element. Make sure when the task is executed, the CONTENT-TYPE header 
	includes the CHARSET parameter to indicate the character encoding.
	</specnote>
	<results>
		<result ci="true">
			<name>ENV_Content-Type</name>
			<value>application/wml+xml;</value>
			<value>charset</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card newcontext="true" id="main">
				<wml:onevent type="enterforward">
					<wml:go method="post" enctype="application/vnd.wap.wml.form.urlencoded" href="[[responseurl]]">
						<wml:postfield name="toto" value="ric"/>
						[[sessionvars]]
					</wml:go>
				</wml:onevent>
				[[auto_failed]]
			</wml:card>
		]]>
	</method>  
</test>
