Re: [VE][108] Add Subject Here

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 UTC