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 -->
   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 UTC

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