[whatwg] Web Forms 2.0 Editorial [minor] Section 6

6.1. Filling select elements
----------------------------

# ...namely, the insertion at the end of the document of a select widget which,
# in due course, will have three options, namely 'a', 'b' and 'b'.

   ...namely, the insertion at the end of the document of a select widget which,
   in due course, will have three options>:< 'a', 'b' and 'b'.


6.2. Seeding a form with initial values
---------------------------------------

# If a select element has a data attribute, it must be a URI that points to a
# well-formed XML file whose root element is a select element in the
# http://www.w3.org/1999/xhtml namespace. The MIME type must be an XML MIME
# type [RFC3023], preferably application/xml. It should not be
# application/xhtml+xml since the root element is not html.
#
# UAs must process this file if it has an XML MIME type [RFC3023], if it is a
# well-formed XML file, and if the root element is the right root element in
# the right namespace. If any of these conditions are not met, UAs must act as
# if the attribute was not specified, although they may report the error to the
# user. UAs are expected to correctly handle namespaces, so the file may use
# prefixes, etc.

These two paragraphs should be merged and

   UAs must process this file if it has an XML MIME type [RFC3023], if it is a
   well-formed XML file, and if the root element is the right root element in
   the right namespace. If any of these conditions are not met, UAs must act

replaced with

   UAs must process this file if and only if these conditions are met. If they
   are not met, UAs must act

There's no reason to state the requirements twice.

Similarly for section 6.2.

6.2. Seeding a form with initial values
---------------------------------------

# This is done by walking the list of form controls associated with the form
# until one is found that has a name exactly equal to the name given in the
# field element's name attribute, skipping as many such matches as is specified
# in the index attribute.

   This is done by walking the list of form controls associated with the form
   until one is found that has a name exactly equal to the name given in the
   field element's name attribute, >after having skipped< as many such matches
   as is specified in the index attribute.

=== End section 6 ===

~fantasai

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

Received on Wednesday, 16 June 2004 12:09:50 UTC