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

  $Author: richard $

  $Revision: 1.8 $

  $Log: 24,v $
  Revision 1.8  2002/06/17 13:51:55  richard
  add a letter in front of the symbols to have a valid parameter

  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/25 10:58:54  richard
  check the result of the body (post)

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

  Revision 1.3  2001/10/30 16:22:10  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/24" 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 'multipart/form-data', 
	all field names and values sent must be encoded as a 'multipart/form-data' 
	content type.
	</assertion>
	<specnote>Create a card containing the WML:GO element, set the METHOD 
	attribute to 'post', and the ENCTYPE attribute to 'multipart/form-data'. 
	Within the WML:GO element include a WML:POSTFIELD element, set it's NAME 
	attribute value to '$$' and it's VALUE attribute to '??'. The WML:GO task 
	could be executed by putting it within a WML:DO element. Call the card 
	and make sure when the task is executed, the names and values are encoded 
	as a 'multipart/form-data' content type.
	</specnote>
	<results>
		<result ci="true">
			<name>a%24%24</name>
			<value>a%3F%3F</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card newcontext="true" id="main">
				<wml:onevent type="enterforward">
					<wml:go method="post" enctype="multipart/form-data" href="[[responseurl]]">
						<wml:postfield name="a$$" value="a??"/>
						[[sessionvars]]
					</wml:go>
				</wml:onevent>
				[[auto_failed]]
			</wml:card>
		]]>
	</method>  
</test>
