W3C home > Mailing lists > Public > www-validator@w3.org > August 2006

Error Message Feedback (or Bug Report??)

From: Jim Sanders <jwsanders@steppingstones.com>
Date: Mon, 28 Aug 2006 12:20:04 -0700
Message-Id: <6AE069CF-3119-47D4-BE6D-B7E08B4DA861@steppingstones.com>
To: www-validator@w3.org

Validating -- or is this a bug report? I don't know.

My pages validate properly (XHTML 1.0 Transitional) when I submit  
them as direct inline; but the pages fail when I submit the URL  
because by hosting service (Yahoo!) adds a comment-protected  
Javascript at the end for collection of statistics.  So, when a user  
clicks on the validator link (if I add it to the page), the user  
thinks my pages are invalid.  What the heck??

Specifically, here is the end of the source code shown by the  
validator - with no other errors except those related this server- 
added code:
---  good code above here ---
</html>
HERE FOLLOWS THE STUFF ADDED BY YAHOO! SERVER:
-------------------------
<!-- text below generated by server. PLEASE REMOVE --><!-- Counter/ 
Statistics data collection code --><script language="JavaScript"  
src="http://hostingprod.com/js_source/geov2.js"></script><script  
language="javascript">geovisit();</script><noscript><img src="http:// 
visit.webhosting.yahoo.com/visit.gif?us1156791993" alt="setstats"  
border="0" width="1" height="1"></noscript>
<IMG SRC="http://geo.yahoo.com/serv?s=76001405&t=1156791993&f=p7w2"  
ALT=1 WIDTH=1 HEIGHT=1>
----------------------------
VALIDATOR ERROR MESSAGES; 1 OF MANY:

Error Number 1:
Error Line 106, column 179: required attribute "type" not specified .
....//hostingprod.com/js_source/geov2.js"></script><script  
language="javascript">
The attribute given above is required for an element that you've  
used, but you have omitted it. For instance, in most HTML and XHTML  
document types the "type" attribute is required on the "script"  
element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and  
type="text/javascript" for <script>

----------------------

So, what's the deal?  URL of this page is <http:// 
marco.steppingstones.com/privacy.html>

--Jim Sanders--
Steppingstones Designs
jwsanders@steppingstones.com
Received on Tuesday, 29 August 2006 13:40:32 GMT

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