<?xml version="1.0" encoding="UTF-8"?>
<test id="wmlscript/core/lexical/semicolons/1" class="A" scope="wmlscript" testtype="application" type="manual" source="wmls11#6.1.3" device="gateway">
  <assertion>When an empty statement is defined without a terminating semicolon (;) the Encoder will not encode the script and the Server will send an error indication to the Client.
</assertion>
  <notes>The if statement, after the expression, must be followed by a statement, use this grammar syntax to test for the empty statement.</notes>
  <specnote>New for June 2000.  It is assumed that the Encoder will not encode the script and the Server will send an error indication to the Client.  On receipt of this error the Client shall display an error to the Operator with a means to continue browser navigation.</specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<p>
The script referenced by this
&nbsp;<a href="<script1>#main('test','card1')">link</a>&nbsp;contains an empty statement not terminated by a semicolon (;).
</p>
<p mode="wrap">Did the browser report an error when trying to access the script? 
<br />
<yesno>
</p>
</card>]]>
  </method>
  <cards>
    <card id="1">
      <![CDATA[<card id="card1">
<onevent type="onenterforward">
<go href="<resulturl>">
<postfield name="SUBMIT" value="no"/>
<sessionvars>
</go>
</onevent>
<auto_failed>
</card>
]]>
    </card>
  </cards>
  <scripts>
    <script id="1">
      <![CDATA[extern function main(next) {

	var result = "pass";

	if (result == "pass") 

}

]]>
    </script>
  </scripts>
</test>

