W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2010

[Bug 6075] XHTML 1 strict and form name

From: <bugzilla@wiggum.w3.org>
Date: Fri, 12 Mar 2010 17:46:30 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Nq8wQ-0001rW-KB@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6075


Fred Koschara <fred@a-bb.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fred@a-bb.net
                URL|                            |http://wfredk.com/work/ABN/2
                   |                            |0100312_haclustercfg_first_f
                   |                            |orm_name_error.html
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




--- Comment #2 from Fred Koschara <fred@a-bb.net>  2010-03-12 17:46:29 ---
Using the W3C Markup Validator, v0.8.6, the first form (only) in a Strict
document results in an error stating there is no "name" attribute.

Note that the "error" is reported for the first form only on the page, not all
of the forms.


In the Strict DTD at http://www.w3.org/TR/html401/sgml/dtd.html, in the section
marked "==== Forms ====" there is clearly a "name" attribute listed:
    name        CDATA          #IMPLIED  -- name of form for scripting --

Further, in the HTML 4.01 discussion at
http://www.w3.org/TR/html401/interact/forms.html#adef-name-FORM states:
    This attribute names the element so that it may be referred to from style
    sheets or scripts. Note. This attribute has been included for backwards
    compatibility. Applications should use the id attribute to identify
elements.

The "name" attribute is *NOT* deprecated, and MUST NOT BE deprecated until, for
example, the HTML DOM provides a mechanism to access forms in a document by id,
rather than only providing access by name.  (see
http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-40002357)


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 12 March 2010 17:46:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:19 GMT