<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/syntax/variables/5" class="B" scope="wml" testtype="application" type="manual" source="wml13#7.5" device="gateway">
  <assertion>When variables are referenced within %CDATA attributes the encoder must
produce an error.
</assertion>
  <specnote>Added with wml version 1.3.  Revised ref WAG comments 06/00 - Added
the word attributes.  Can't test as a variable reference in %CDATA is interpreted as a
string its self.</specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<p>Select this 
<anchor>
	<go href="<deck1>">
		<setvar name="variable" value="onenterforward"/>	
	</go>link
</anchor>
</p>
<p mode="wrap">Did the user agent display an error?
<br />
<yesno>
</p>
</card>]]>
  </method>
  <decks>
    <deck id="1">
      <![CDATA[<card id="card1">
<onevent type="$variable">
	<prev/>
</onevent>
<p>
<do type="prev" label="Back">
   <prev/>
</do>
You should not see this text
</p>
</card>
]]>
    </deck>
  </decks>
</test>

