[whatwg] Web Forms 2.0 Substantive - Section 5

5. Form submission
------------------

# Step six: Submit the encoded form data set
#
#  Finally, the encoded data is sent to the processing agent designated by the
#  action attribute of the element that initiated the submission using the
#  protocol method specified by the method attribute of that same element.

Depending on what you meant by "defaults" in section 2.7, this
description may be wrong.


5.2. Handling characters outside the submission character set
-------------------------------------------------------------

# The data will be sent as "D?rst".

You need to also give the source that triggered this error before
the dialog makes sense.


5.3. application/x-www-form-urlencoded
--------------------------------------

# The values of file upload controls are the names of the files selected by
# the user, not their contents.

Does this include the path? (I think it should not, but you'd
need to say so.)


5.4. application/x-www-form+xml: XML submission
-----------------------------------------------

# If the user selected a second (image) file "file2.png", and changes the date,
# the user agent might construct the entity as follows:

Don't do the "changes the date" bit in this example. It implies that
this is a second submission after the first rather than a variant of it.

Also, the verb tenses don't match. ;)
   "selected and changes"


5.6.1. For http: actions
------------------------

under 'get'

# Handle as if enctype was application/x-www-form-urlencoded

I think you need to specify some kind of escaping on that data
before you handle it like x-www-form-urlencoded.


5.6.3. For data: actions
------------------------

# If the action contains the string "%%%%", then URI escape all
# non-alphanumeric characters in the form data set...

form data set -> encoded form data set

Also, for the 'put' column, you need to add "Then, access the
resulting URI."


5.6.4. For file: actions
------------------------

# If the specified file is executable...

What if it's not?


5.6.5. For mailto: actions
------------------------

under 'get'

# Handle as if enctype was application/x-www-form-urlencoded

I think you need to specify some kind of escaping on that data
before you handle it like x-www-form-urlencoded.


5.6.6. For smsto: and sms: actions
----------------------------------

File upload & post :
# Handle as if enctype was application/x-www-form-urlencoded.

Does that mean you're sending the binary file data as the body
of the sms message without any kind of MIME information?

~fantasai

-- 
http://fantasai.inkedblade.net/contact

Received on Tuesday, 15 June 2004 14:16:11 UTC