<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/state/variables/substitution/8" class="A" scope="wml" testtype="application" type="manual" source="wml13#10.3.1" device="both">
  <assertion>WML variable names consist of an US-ASCII letter or underscore
followed by zero or more letters, digits or underscores.  Any other 
characters are illegal.  Any variable containing illegal characters shall 
not be processed by the encoder.  The remainder of the card should be 
processed and displayed.
</assertion>
  <specnote><![CDATA[Added with wml version 1.3. <br /><br />
    This test has had a TSD granted against it [http://www.opengroup.org/WAP/PRs/ViewPR?PR_NO=2330] for the circumstances where the encoder behavior is preventing the test conditions being reached in the client under test.  If this test is failing and you are convinced that it is the encoder behavior that is causing the problem you may invoke the TSD to resolve the failure.  The CA may wish to see evidence supporting your claim, such as test results gathered from a test session with a different gateway in which the test runs to completion and passes.
    ]]>
  </specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<p>Select each of these links in turn
<br/>
<anchor>
	<go href="<deck1>">
	</go>link1
</anchor>
<br/> 
<anchor>
	<go href="<deck2>">
	</go>link2
</anchor>
<br/> 
<anchor>
	<go href="<deck3>">
	</go>link3
</anchor> 
<br/>
<anchor>
	<go href="<deck4>">
	</go>link4
</anchor> 
<br/>
and then come back to
this screen and and answer the following question.  
<br/>
</p>
<p mode="wrap">'Were the four decks shown, and the statement in each correct?'
<br />
<yesno>
</p>
</card>]]>
  </method>
  <decks>
    <deck id="1">
      <![CDATA[<card id="main">
	<onevent type="onenterforward">
		<go href="#card1">
			<setvar name="aBc1_" value="PASS"/>
			<setvar name="AbC_3" value="PASS"/>
			<setvar name="_aB1_" value="PASS"/>
		</go>
	</onevent>
	<onevent type="onenterbackward">
		<prev/>
	</onevent>
</card>
<card id="card1">
	<do type="prev" label="back">
		<prev/>
	</do>
	<p>
		This card shows the word 'PASS' three times below
		<br/>
		$aBc1_
		<br/>
		$AbC_3
		<br/>
		$_aB1_
		<br/>


	</p>
</card>
]]>
    </deck>
    <deck id="2">
      <![CDATA[<card id="main">
	<onevent type="onenterforward">
		<go href="#card1">
			<setvar name="1abc" value="PASS"/>
		</go>
	</onevent>
	<onevent type="onenterbackward">
		<prev/>
	</onevent>
</card>

<card id="card1">
	<do type="prev" label="back">
		<prev/>
	</do>
	<p>
		This card does NOT show the word 'PASS' below
		<br/>
		$1abc
	</p>
</card>
]]>
    </deck>
    <deck id="3">
      <![CDATA[<card id="main">
	<onevent type="onenterforward">
		<go href="#card1">
		<setvar name="!abc" value="PASS"/>
		</go>
	</onevent>
	<onevent type="onenterbackward">
		<prev/>
	</onevent>
</card>

<card id="card1">
	<do type="prev" label="back">
		<prev/>
	</do>
	<p>
		This card does NOT show the word 'PASS' below
		<br/>
		$!abc
	</p>
</card>
]]>
    </deck>
    <deck id="4">
      <![CDATA[<card id="main">
	<onevent type="onenterforward">
		<go href="#card1">
		<setvar name="Abc!" value="PASS"/>
		</go>
	</onevent>
	<onevent type="onenterbackward">
		<prev/>
	</onevent>
</card>

<card id="card1">
	<do type="prev" label="back">
		<prev/>
	</do>
	<p>
		This card does NOT show the word 'PASS' below
		<br/>
		$Abc!
	</p>
</card>
]]>
    </deck>
  </decks>
</test>

