<?xml version="1.0" encoding="UTF-8"?>
<test id="wmlscript/interpreter/urls/calls/2" class="A" scope="wmlscript" testtype="application" type="manual" source="wmls11#8.3.4" device="client">
  <assertion>When a call to an external WMLScript function is made via the use of a URL fragment anchor the call will fail if the function does not exist in the external compliation unit.
</assertion>
  <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>#testFunc()">link</a>&nbsp;calls an external script function using a URL fragment anchor that does not exist in the called script.
</p>
<p mode="wrap">Did the browser report an error when trying to access the script?
<br />
<yesno>
</p>
</card>]]>
  </method>
  <scripts>
    <script id="1">
      <![CDATA[extern function main()
{

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

