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

  $Author: richard $

  $Revision: 1.5 $

  $Log: 1,v $
  Revision 1.5  2002/04/20 08:02:42  richard
  yesno

  Revision 1.4  2002/03/16 11:50:34  richard
   rewrite test

  Revision 1.3  2001/10/30 16:22:24  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/validation/1"
	class="A" scope="wml2" testtype="application" type="manual" 
	source="wml2#5.5.1.5" device="both">
  <assertion>When the value of an attribute is not to be evaluated as part 
  of the WML variable expression language, and it is to contain a literal 
  '$' character, it must use an escaped literal dollar sign to prevent the 
  creation.
  </assertion>
  <specnote>Create a card that uses two dollar signs within the value that 
  is assigned to an element's attribute
  (e.g. &amp;lt;a href="/next" title="Win $$1,000,000!"&amp;gt;. Display 
  the card and make sure only one dollar sign is displayed.
  </specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
  	<![CDATA[
  		<wml:card id="main" title="Win $$1,000,000!" newcontext="true">
  			<p>Is the title of the card &quot;Win $$1,000,000!&quot;?
  				<br/>
				[[yesno]]
			</p>
			</wml:card>
		]]>
  </method>
</test>
