W3C home > Mailing lists > Public > www-validator@w3.org > November 2013

Re: [VE][106] Add Subject Here

From: Philip Taylor <P.Taylor@Rhul.Ac.Uk>
Date: Wed, 27 Nov 2013 23:21:51 +0000
Message-ID: <52967E8F.40805@Rhul.Ac.Uk>
To: Alejandro Olryd <aolryd@gmail.com>, www-validator@w3.org

Alejandro Olryd wrote:
> Hello,
>    When I validate my page it says that the attribute "Mulitple" for <input type="file"> is not valid for the DOCTYPE… however, i've read all the techno babble for W3C and IT IS SUPPORTED!!! So now i'm very confused as to what to do.
> Validating http://www.moneysolutions.com.mx/contacto.php
> Error [106]: "X is not a member of a group specified for any attribute"
> Thanks,
> Alejandro Olryd
> PS: i've already read through your FAQ, multiple blogs, and every other bit of information I can find… but no help what so ever.

But you did not read through the DTD :-)

If you do, you will see that "multiple" is a permitted attribute
of <select> but not of <input> :

<!ELEMENT input EMPTY>     <!-- form control -->
<!ATTLIST input
  type        %InputType;    "text"
  name        CDATA          #IMPLIED
  value       CDATA          #IMPLIED
  checked     (checked)      #IMPLIED
  disabled    (disabled)     #IMPLIED
  readonly    (readonly)     #IMPLIED
  size        CDATA          #IMPLIED
  maxlength   %Number;       #IMPLIED
  src         %URI;          #IMPLIED
  alt         CDATA          #IMPLIED
  usemap      %URI;          #IMPLIED
  onselect    %Script;       #IMPLIED
  onchange    %Script;       #IMPLIED
  accept      %ContentTypes; #IMPLIED
  align       %ImgAlign;     #IMPLIED

<!ELEMENT select (optgroup|option)+>  <!-- option selector -->
<!ATTLIST select
  name        CDATA          #IMPLIED
  size        %Number;       #IMPLIED
  multiple    (multiple)     #IMPLIED
  disabled    (disabled)     #IMPLIED
  tabindex    %Number;       #IMPLIED
  onfocus     %Script;       #IMPLIED
  onblur      %Script;       #IMPLIED
  onchange    %Script;       #IMPLIED

Philip Taylor
Received on Wednesday, 27 November 2013 23:22:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:09 UTC