<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/state/variables/substitution/4" class="A" scope="wml" testtype="application" type="auto" source="wml13#10.3.1" device="both">
  <assertion>When a variable is referenced within any element or attribute
with a content type of %vdata, and that variable reference specifies no
conversion suffix, the default conversion is context sensitive. In the case of
ONPICK="onenterforward", ONPICK="onenterbackward", HREF, and SRC attributes the default is escape
conversion.
</assertion>
  <results>
    <result>
      <name>test</name>
      <value>pass</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<onevent type="onenterforward">
<go href="#card1">
<setvar name="url" value="file$name.wml"/>
</go>
</onevent>
<auto_failed>
</card>]]>
  </method>
  <cards>
    <card id="1">
      <![CDATA[<card id="card1">
<onevent type="onenterforward">
<go href="$(url:e)"/>
</onevent>
<onevent type="onenterbackward">
<go href="<responseurl>">
<postfield name="test" value="pass"/>
<sessionvars>
</go>
</onevent>
<auto_failed>
</card>
]]>
    </card>
  </cards>
</test>

