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

Re: [VE][108] Add Subject Here

From: Philip Taylor (Webmaster, Ret'd) <P.Taylor@Rhul.Ac.Uk>
Date: Tue, 26 Oct 2010 22:51:00 +0100
Message-ID: <4CC74D44.9080802@Rhul.Ac.Uk>
To: Nemo <pithack@gmail.com>, W3C Validator Community <www-validator@w3.org>


Nemo wrote:
> Validating http://www.studio-urody.net.pl/artgas/calculator.html
> Error [108]: "there is no attribute LANGUAGE"
>
>
> Hello,
>
> I've got this validation error, and the suggestion on where the error
> came from and what to do to get rid of it, doesn't account for it's most
> common use- the JavaScript. I suggest making some improvements to it.

Rather than "suggesting" making some improvements, why
don't you make the improvements (to your own code, so
that it is no longer invalid) and then try validating
again ?  The relevant part of the specification reads
as follows :

<!ELEMENT SCRIPT - - %Script;          -- script statements -->
<!ATTLIST SCRIPT
   charset     %Charset;      #IMPLIED  -- char encoding of linked resource --
   type        %ContentType;  #REQUIRED -- content type of script language --
   src         %URI;          #IMPLIED  -- URI for an external script --
   defer       (defer)        #IMPLIED  -- UA may defer execution of script --
   event       CDATA          #IMPLIED  -- reserved for possible future use --
   for         %URI;          #IMPLIED  -- reserved for possible future use --
   >

As you will undoubtedly notice, "language" is not a valid attribute.

Philip Taylor
Received on Tuesday, 26 October 2010 21:51:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:44 GMT