<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/syntax/variables/3" class="A" scope="wml" testtype="application" type="manual" source="wml13#7.5" device="both">
  <assertion>When the symbol "$", followed by an identifier, a colon ":" and a
conversion specifier, enclosed in parenthesis,
is encountered in a %PCDATA
or %vdata context, it is a variable reference and an indicator as to how the
variable value should be converted. The variable reference is
replaced with the
value of the variable thus named, converted as specified.
</assertion>
  <notes>RFC 2396 mandates % escaping.  + escaping is non-conformant  BR 135</notes>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<onevent type="onenterforward">
<go href="#card1">
<setvar name="variable" value="A VAL"/>
</go>
</onevent>
<auto_failed>
</card>]]>
  </method>
  <cards>
    <card id="1">
      <![CDATA[<card id="card1">
<p>This sentence brings in a variable here: $(variable:escape)UE</p>
<p>Is "A%20VALUE" displayed after the colon above?
<yesno>
</p>
</card>
]]>
    </card>
  </cards>
</test>

