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

  $Author: richard $

  $Revision: 1.5 $

  $Log: 1,v $
  Revision 1.5  2002/04/20 07:59:58  richard
  yesno

  Revision 1.4  2002/03/16 09:52:14  richard
  rewrite test

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


-->
<test id="wml2/uabehaviour/attribexplang/wmlvariable/parsingvarref/1" 
	class="A" scope="wml2" testtype="application" type="manual" 
	source="wml2#5.5.1.2" device="both">
  <assertion>When using the WML variable attribute expression language, in 
  the context of variable parsing, all XML syntax must have a higher 
  precedence than the variable syntax(e.g. entity substitution occurs before 
  the variable substitution syntax is parsed).
  </assertion>
  <specnote>Create a card that uses the ENTERFORWARD event that sets a 
  variable(e.g. $X). The card should then display the variable using three 
  variations of the syntax(e.g. $X - &#36;X - $&#88;). Display the card and 
  make sure that the variable value is displayed three times.
  </specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
		<![CDATA[
  		<wml:card newcontext="true" id="main">
    		<wml:onevent type="enterforward">
				<wml:refresh>
        			<wml:setvar name="x" value="pass" />
      			</wml:refresh>
    		</wml:onevent>
    		<p>The variable $$x should be displayed three timer:- $X - &#36;X - $&#88;</p>
    		<p>Was &quot;pass - pass- pass&quot; displayed?
    			<br/>
				[[yesno]]
			</p>
  		</wml:card>
		]]>
	</method>
</test>
