<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/events/do/15" class="D" scope="wml:carddo" testtype="application" type="manual" source="wml13#9.7" device="both">
  <assertion>When two or more DO elements with the same NAME are specified in
a single CARD element the user agent shall display an error along with a means
to continue browser navigation.
</assertion>
  <specnote>Added with wml version 1.3.  Can't be tested as the gateway will capture the
error before it gets to the user agent.</specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<p>Select this 
<anchor>
	<go href="<deck1>">
	</go>
	link 
</anchor> 
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[<card id="card1">
	<do type="options" label="back1" name="samename">
		<prev/>
	</do>
	<do type="options" label="back2" name="samename">
		<prev/>
	</do>

	<p>This should produce an error.</p>
</card>
]]>
    </deck>
  </decks>
</test>

