<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="xhtml2.css" ?>
<!DOCTYPE html [
	<!ATTLIST section id ID #IMPLIED>
	<!ATTLIST h       id ID #IMPLIED>
	<!ATTLIST div     id ID #IMPLIED>
	<!ATTLIST nl      id ID #IMPLIED>
]>
<html xmlns="http://www.w3.org/2002/06/xhtml2" lang="en">
<head>
<title>Chapter 8: Form controls</title></head>
<body>
<h>11</h>
<section>
<h href="http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#submit-options">Submit Options - MUST</h>
<p>The URI schemes and methods that MUST be supported</p>
<nl>
<li href="chapter11/TestCase_ch11_001.xml">HTTP and post</li>
<li href="chapter11/TestCase_ch11_002.xml">HTTP and put</li>
<li href="chapter11/TestCase_ch11_003.xml">HTTP and get</li>
<li href="chapter11/TestCase_ch11_004.xml">HTTP and form-data-post</li>
<li href="chapter11/TestCase_ch11_005.xml">HTTP and urlencoded-post</li>
<li href="chapter11/TestCase_ch11_015.xml">HTTP and multipart-post</li>
</nl>
</section>
<section>
<h href="http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#submit-options">Submit Options - SHOULD</h>
<p>The URI schemes and methods that SHOULD be supported</p>
<nl>
<li href="chapter11/TestCase_ch11_006.xml">HTTPS and post</li>
<li href="chapter11/TestCase_ch11_007.xml">HTTPS and put</li>
<li href="chapter11/TestCase_ch11_008.xml">HTTPS and get</li>
<li href="chapter11/TestCase_ch11_009.xml">HTTPS and form-data-post</li>
<li href="chapter11/TestCase_ch11_010.xml">HTTPS and urlencoded-post</li>
<li href="chapter11/TestCase_ch11_011.xml">FILE and put</li>
<li href="chapter11/TestCase_ch11_016.xml">HTTPS and multipart-post</li>
</nl>
</section>
<section>
<h href="http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#submit-options">Submit Options - MAY</h>
<p>The URI schemes and methods that MAY be supported</p>
<nl>
<li href="chapter11/TestCase_ch11_012.xml">mailto and post</li>
<li href="chapter11/TestCase_ch11_013.xml">mailto and form-data-post</li>
<li href="chapter11/TestCase_ch11_014.xml">mailto and urlencoded-post</li>
<li href="chapter11/TestCase_ch11_017.xml">FILE and get</li>
<li href="chapter11/TestCase_ch11_018.xml">mailto and multipart-post</li>
</nl>
</section>
<section>
<h href="http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#submit-options">Submit Options - (any) schemes</h>
<p>The URI schemes and methods that MAY be supported</p>
<nl>
<li href="">Hmm m m m . . .</li>
</nl>
</section>
<section>
<h href="http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#submit-event">Single Concurrent Submit</h>
<p>An XForms processor MUST ensure that only one submission is active at a given time, i.e. no concurrent submissions.</p>
<nl>
<li href="">Attempt to submit two things at the same time.</li>
</nl>
</section>
<section>
<h href="http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#submit-event">Cannot Submit invalid data</h>
<p>Ensure that submission does not happen and that 
<code>xforms-submit-error</code> is dispatched.</p>
<nl>
<li href="">Ensure that no data arrives at URI.</li>
<li href="">Ensure that <code>xforms-submit-error</code> is dispatched.</li>
</nl>
</section>
<section>
<h href="http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#submit-options">Submitted data encoded as requested</h>
<p>Ensure that what is submitted arrives at the destination URI in the format specified/implied by  the various 
<code>submission</code> attributes.</p>
<nl>
<li href="">Ensure that the correct are selected for appropriate encoding as defined as defined by the 
<code>ref</code> attribute.</li>
<li href="">Ensure that the destination URI receives 
<code>application/xml</code> if that is what was requested.  http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#serialize-xml  
<ol>
<li>Ensure that the XML version specified is used.  http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#structure-model-submission </li>
<li>Ensure that 
<code>indent</code> attribute is correctly handled.  http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#structure-model-submission </li>
<li>Ensure that 
<code>encoding</code> attribute is correctly handled.  http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#structure-model-submission </li>
<li>Ensure that 
<code>omit-xml-declaration</code> attribute is correctly handled.  http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#structure-model-submission </li>
<li>Ensure that 
<code>standalone</code> attribute is correctly handled.  http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#structure-model-submission </li>
<li>Ensure that 
<code>cdata-section-elements</code> attribute is correctly handled.  http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#structure-model-submission </li>
<li>Ensure that 
<code>separator</code> attribute is correctly handled.  http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#structure-model-submission</li></ol> </li>
<li href="">Ensure that the destination URI receives 
<code>application/x-www-form-urlencoded</code> if that is what was requested.  http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#serialize-urlencode  
<ol>
<li>Ensure that 
<code>separator</code> attribute is correctly handled.  http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#structure-model-submission</li></ol> </li>
<li href="">Ensure that the destination URI receives 
<code>multipart/form-data</code> if that is what was requested.  http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#serialize-multipart</li></nl></section>
<section>
<h href="http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#submit-options">Submitted data sent using the requested protocol</h>
<p>Ensure that what is submitted arrives at the destination URI using the specified protocol (
<code>scheme</code>).</p>
<nl>
<li href="">Ensure that the destination URI is communicated with using 
<code>http</code> if that is what was requested.</li>
<li href="">Ensure that the destination URI is communicated with using 
<code>https</code> if that is what was requested.</li>
<li href="">Ensure that the destination URI is communicated with using 
<code>file</code> if that is what was requested.</li>
<li href="">Ensure that the destination URI is communicated with using 
<code>mailto</code> if that is what was requested.</li></nl></section>
<section>
<h href="http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#submit-options">Submitted data sent using the requested method</h>
<p>Ensure that what is submitted arrives at the destination URI using the specified protocol (
<code>method</code>).</p>
<nl>
<li href="">Ensure that the destination URI is communicated with using 
<code>post</code> if that is what was requested.</li>
<li href="">Ensure that the destination URI is communicated with using 
<code>get</code> if that is what was requested.</li>
<li href="">Ensure that the destination URI is communicated with using 
<code>put</code> if that is what was requested.</li>
<li href="">Ensure that the destination URI is communicated with using 
<code>form-data-post</code> if that is what was requested.</li>
<li href="">Ensure that the destination URI is communicated with using 
<code>urlencoded-post</code> if that is what was requested.</li></nl></section>
<section>
<h href="http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#submit-options">processing of an unsuccessful submission</h>
<p>Ensure that nothing else happens in when a 
<code>xforms-submit-error</code> is dispatched.</p>
<nl>
<li href="">Ensure that 
<code>xforms-submit-error</code> is dispatched.</li>
<li href="">Ensure that nothing in the document is changed.</li></nl></section>
<section>
<h href="http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#submit-options">processing of a successful submission</h>
<p>Ensure that a 
<code>xforms-submit-done</code> is dispatched and that the appropriate parts of the document are affected in line with what is specified by the 
<code>replace</code> attribute.</p>
<nl>
<li href="">Ensure that 
<code>replace=&quot;all&quot;</code> is processed correctly.</li>
<li href="">Ensure that 
<code>replace=&quot;instance&quot;</code> is processed by replacing the instance and that a 
<code>xforms-initialize</code> is dispatched.</li>
<li href="">Ensure that 
<code>replace=&quot;none&quot;</code> is processed and that nothing in the document is changed.</li>
<li href="">Ensure that 
<code>replace=&quot;--any other-value--&quot;</code> is accepted.</li></nl></section>
<section>
<h href="http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#submit-options">response from server to submission</h>
<p>Ensure that the expected events are generated in the right order and that appropriate changes to the document take place.</p>
<nl>
<li href="">Ensure that following 
<code>replace=&quot;all&quot;</code> xforms-submit-done is dispatched and that subsequently the  entire containing document is replaced.</li>
<li href="">Ensure that following 
<code>replace=&quot;instance&quot;</code> with a response body of an XML media type the instance  is replaced with the body contents and then a xforms-initialize event is dispatched followed by an xforms-submit-done event.</li>
<li href="">Ensure that following 
<code>replace=&quot;instance&quot;</code> with a response body of an non-XML media type that nothing in the instance  is replaced and that an xforms-submit-error event is dispatched.</li>
<li href="">Ensure that 
<code>replace=&quot;none&quot;</code> is processed and that nothing in the document is changed and that a  xforms-submit-done event is dispatched.</li></nl></section>
<section>
<h href="http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#structure-model-submission">Actions can be children of 
<code>submission</code></h>
<p>Ensure that the actions can be authored as child elements of the submission element.</p>
<nl>
<li href="">Ensure that all actions defined in chapter 10 [http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/index-all.html#action] can be specified and execute as expected.</li></nl></section></body></html>
