REVISION: ERROR #105: Validation Text Suggestion: Attribute Specification Error

There may be one or more apostrophe(s) or quotation marks(s) missing from
the line in question.
When assigning attributes (ex: id, width, style, etc.) or events (ex:
onClick, onMouseOver, onMouseOut, etc.) to a tag, the values must be fully
and properly enclosed in apostrophes. Check all attributes and events for
the tag to ensure that each is formatted properly using the following
format:

<[tag name] [attribute]="[attribute value]" [event]="[function or
statement]">

If you are passing a value to a function, ensure that any values contained
within the quotation marks are enclosed in single apostrophes and object
references are not enclosed. (e.g. onClick="myFunction(this.id, '39');").

David H.



-----Original Message-----
From: David C. Holley [mailto:David.C.Holley@gatewayorlando.com]
Sent: Sunday, May 16, 2004 9:17 PM
To: www-validator@w3.org
Subject: Validation Text Suggestion: Attribute Specification Error


Line 309, column 39: an attribute specification must start with a name or
name token
onMouseOver=btnRateQuoteSearchtop.src="../images/btnRateSearchLong1.gif"

Explanation:
There may be one or more apostrophe(s) or quotation mark(s) missing from the
line in question. If you are designating an event handler (e.g. onClick),
check that the function or statement is fully enclosed in quotation marks
(e.g. onClick="myFunction();"), any values contained within the quotation
marks are enclosed in single apostrophes and object references are not
enclosed. (e.g. onClick="myFunction(this.id, '39');").

Not being 100% familar with the full specification and the error I do not
know if this will cover every issue, however this is at least a start.

David H

Received on Thursday, 20 May 2004 11:00:00 UTC