<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/events/do/16" class="A" scope="wml" testtype="application" type="manual" source="wml13#9.7" device="gateway">
  <assertion>When two or more DO elements with the same NAME are specified in
a the TEMPLATE element the gateway shall produce an error.
</assertion>
  <specnote>Added with wml version 1.3.</specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<p>Select this&nbsp;
<anchor>
	<go href="<deck1>">
	</go>
	link 
</anchor> 
&nbsp;and then come back to
this screen.</p>
<p mode="wrap">Did the browser show an error?
<br />
<yesno>
</p>
</card>]]>
  </method>
  <decks>
    <deck id="1">
      <![CDATA[<template>
	<do type="options" label="Back1" name="samename">
		<prev/>
	</do>

	<do type="options" label="Back2" name="samename">
		<prev/>
	</do>
</template>

<card id="templates">
<p>This should produce an error
</p>
</card>
]]>
    </deck>
  </decks>
</test>

