This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5662 - Error Message refers to blank line and therefore will not validate
Summary: Error Message refers to blank line and therefore will not validate
Status: RESOLVED DUPLICATE of bug 152
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.1 (show other bugs)
Version: CSS Validator
Hardware: PC Windows XP
: P1 critical
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-25 08:40 UTC by Peter Gaywood
Modified: 2011-07-23 05:51 UTC (History)
0 users

See Also:


Attachments

Description Peter Gaywood 2008-04-25 08:40:06 UTC
CSS level 2.1 validation attempted with direct input
Error message received:-
Lexical error at line 164, column 2, Encountered "/" (47), after: "<"
But line 164 is blank and no nearby lines have any such notation
The webpage the CSS is embedded in has passed XHTML 1.0 Transitional validation, but it is not yet published to the web

Code for webpage follows:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 1 September 2005), see www.w3.org" />
<meta http-equiv="content-type" content="text/html:charset=ISO-8859-1" />
<meta name="description" content="Queen Vic's only official website contains details of its products, a tour of its premises, and some fun features." />
<meta name="keywords" content="Ale,Bier,English pub,Beer,Breweries,Lager,Shepherd Neame,News,Wheat,Real ale,Bitter,Beer brewing,Brewing,Brewmaster,Hops,Brewing information,Faversham,Cider,Brewers guild,Brewerytradition,England,Kent,Cask conditioned,English malt,yeast,Water,Alcohol,Pubs,Bars,Football,Inns,Cricket,Hotels,Jobs,Restaurant,Employment,Recruitment,Spitfire,Bishops Finger,Canterbury,Steam Brewery,Brewer,Brewery,Master Brewer,Malt,Tercentenary,Neame,Beale,Heritage,Cans,Bottles,Steam,Marsh,1698,Celebration Ale,Master Brew,Best Bitter,Early Bird,Goldings,Late Red,Original Porter,Export,Caseys,Abbey,Mild,Oranjeboom,Premium,Hurliman,Steinbock,Konig,Pilsner,Pilsener,Sun Lik,Kingfisher,Ashford,Cherry Brandy,Maidstone,Invicta,Accommodation,Shop,Merchandise" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<title>Queen Victoria, Woodham Walter : Gray &amp; Sons (Chelmsford) Limited</title>

<script src="myswapmain.js" type="text/javascript">
</script>
<style type="text/css">
/*<![CDATA[*/
<!--

              a:link {text-decoration:none} 
     
              a:visited {text-decoration:none}  
         
              h1 {color: #990033; Font: bold italic 14pt "Verdana"; Text-align: Center; Font-family:"Verdana", sans serif; background-color: #FFFFFF | transparent}

              h2 {color: #993300; Font: bold italic 20pt "Verdana"; Text-align: Center; Font-family:"Verdana", sans serif; background-color: #FFFFFF | transparent}

              h3 {color: #009900; Font: bold italic 7pt "Verdana"; Text-align: Center; Font-family:"Verdana", sans serif; background-color: #FFFFFF | transparent}

              h4{color: #993300; Font: bold italic 7pt "Verdana"; Text-align: Left; Font-family:"Verdana", sans serif; background-color: #FFFFFF | transparent}

              h5{color: #999933; Font: bold italic 11pt "Verdana"; Text-align: Left; Font-family:"Verdana", sans serif; background-color: #FFFFFF | transparent}

             .orangeit {color: #993300; Font: bold 11pt "verdana"; Text-align: Center; font-family:arial, verdana, sans-serif;  background-color: #FFFFFF | transparent}

table {background:url ("marb18.jpg")}            


body {background-image:url("marb18.jpg") }


                * {
                                padding: 40;
                                margin: 30;
                                font-family: Verdana, sans-serif;
                        }
                        
                        body {
                                margin: 5px;
                                font-size: 14px;
                        }
                        
                        body {
                                behavior: url(csshover.htc);
                        }

                        ul {
                                list-style: none;
                        }

                        ul a {
                                color: #FFFFFF;
                                text-decoration: none;
        
                                padding: 5px 5px 5px 10px;
                                width: 110px;
        
                        }
                        
                        ul a:hover {
                                color: #FFFFFF;
                                text-decoration: none;

                        }       ul li {
                                border-bottom: 0px solid #FFFFFF;
                                border-right: 10px solid #FFFFFF;
                                float: left;
                                position: relative;
                        }               
        
                        
                        ul li ul {
                                list-style: none;
                                position: absolute;
                                left: 0;
                                top: 100%;
                                display: none;
                                width: 110px;
                                border-top: 0px solid #FFFFFF;
                        }
                        
                        ul li:hover ul { display: block; }
                        
                        ul li:hover ul li ul { display: none; }
                        
                        ul li ul li:hover ul {
        
                                position: absolute;
                center: 140px;
                                top: -1px;
                                border-left: 0px solid #FFFFFF;
                        }

         p{margin-left: 100px}
   
           #header {
        position: fixed;
        width: 100%;
        height: auto 
        top: 0;
        right: 0;
        bottom: 100px
        left: 0;
      }

#sidebar {
        position: fixed;
        width: 20em;
        height: auto;
        top: 35px;
        right: auto;
        bottom: 100px;
        left: 0;
      }

      #main {
        position: float;
        width: auto;
        height: auto;
        top: 0;
        right: 0;
        bottom: 100px;
        left: 100em;
      }

<script type="text/css">

button1up = new Image; button1up.src = "TestEmailusOver.jpg";
button1down = new Image; button1down.src = "TestEmailus.jpg";
button2up = new Image; button2up.src = "TestLinksOver.jpg";
button2down = new Image; button2down.src = "TestLinks.jpg";
button3up = new Image; button3up.src = "TestGalleryOver.jpg";
button3down = new Image; button3down.src = "TestGallery.jpg";
button4up = new Image; button4up.src = "TestMapOver.jpg";
button4down = new Image; button4down.src = "TestMap0.jpg";
button5up = new Image; button5up.src = "TestHistoryOver.jpg";
button5down = new Image; button5down.src = "TestHistory.jpg";
button6up = new Image; button6up.src = "TestLocalTradesOver.jpg";
button6down = new Image; button6down.src = "TestLocalTrades.jpg";
button7up = new Image; button7up.src = "TestActivitiesOver.jpg";
button7down = new Image; button7down.src = "TestActivities.jpg";
button8up = new Image; button8up.src = "TestCommunityOver.jpg";
button8down = new Image; button8down.src = "TestCommunity.jpg";

function mouseoverroutine(ButtonName)
{
   if (ButtonName=="button1") {document.button1.src = button1down.src;}
   if (ButtonName=="button2") {document.button2.src = button2down.src;}
   if (ButtonName=="button3") {document.button3.src = button3down.src;}
   if (ButtonName=="button4") {document.button4.src = button4down.src;}
if (ButtonName=="button5") {document.button5.src = button5down.src;}
   if (ButtonName=="button6") {document.button6.src = button6down.src;}
   if (ButtonName=="button7") {document.button7.src = button7down.src;}
   if (ButtonName=="button8") {document.button8.src = button8down.src;}
}

function mouseoutroutine(ButtonName)
{
   if (ButtonName=="button1") {document.button1.src = button1up.src;}
   if (ButtonName=="button2") {document.button2.src = button2up.src;}
   if (ButtonName=="button3") {document.button3.src = button3up.src;}
   if (ButtonName=="button4") {document.button4.src = button4up.src;}
if (ButtonName=="button5") {document.button5.src = button5up.src;}
   if (ButtonName=="button6") {document.button6.src = button6up.src;}
   if (ButtonName=="button7") {document.button7.src = button7up.src;}
   if (ButtonName=="button8") {document.button8.src = button8up.src;}
}

</script>       
-->
/*]]>*/
</style>

<style type="text/css">
/*<![CDATA[*/
 img.c4 {height: 20px; width: 100px}
 div.c3 {text-align: center}
 img.c2 {height: 30px; width: 100px}
 img.c1 {height: 350px; width: 500px}
/*]]>*/
</style>
</head>
<body>
<div id="header">
<h2>The Queen Victoria ~ Woodham Walter</h2>
<ul>
<li><a href="HorizontalMenu8.htm"><img src="Home.gif" alt="aa" /></a></li>
<li><a href="food.htm"><img src="Food.gif" alt="ab" /></a>
<ul>
<li><a href="food.htm#food1"><img src="AprilMenu.gif" alt="ac" /></a></li>
<li><a href="food.htm#food2"><img src="Specials.gif" alt="ad" /></a></li>
<li><a href="food.htm#food3"><img src="Feasts.gif" alt="ae" /></a></li>
<li><a href="food.htm#food4"><img src="Booking.gif" alt="af" /></a></li>
</ul>
</li>
<li><a href="drink.htm"><img src="Drink.gif" alt="ag" /></a>
<ul>
<li><a href="drink.htm#drink1"><img src="Beers.gif" alt="ah" /></a></li>
<li><a href="drink.htm#drink2"><img src="Wines.gif" alt="ai" /></a></li>
<li><a href="drink.htm#drink3"><img src="Spirits.gif" alt="aj" /></a></li>
<li><a href="drink.htm#drink4"><img src="Other.gif" alt="ak" /></a></li>
</ul>
</li>
<li><a href="events.htm"><img src="Events.gif" alt="al" /></a>
<ul>
<li><a href="events.htm#events1"><img src="QuizEvenings.gif" alt="am" /></a></li>
<li><a href="events.htm#events2"><img src="Discos.gif" alt="an" /></a></li>
<li><a href="events.htm#events3"><img src="YourEvent.gif" alt="ao" /></a></li>
<li><a href="events.htm#events4"><img src="PubEvents.gif" alt="ap" /></a></li>
</ul>
</li>
<li><a href="about.htm"><img src="Aboutus.gif" alt="aq" /></a></li>
<li><a href="contact.htm"><img src="Contactus.gif" alt="ar" /></a></li>
<!-- </li></li></li> --></ul>
<!-- </p></div> -->
<div id="sidebar"><br />
<!-- <br /> -->
<br />
<br />
<br />
<br />
<br />
<table border="5" width="45%" align="left" cellpadding="2">
<tr>
<td width="20"><strong><a href="mailto:queen.victoria@btconnect.com" onmouseover="mouseoverroutine('button1')" onmouseout="mouseoutroutine('button1')"><img src="TestEmailus.jpg" width="120" height="45" alt="TestLinksOver.jpg" name="button1" border="0" id="button1" /></a><br />
<a href="links.htm" onmouseover="mouseoverroutine('button2')" onmouseout="mouseoutroutine('button2')"><img src="TestLinks.jpg" width="120" height="45" alt="TestLinksOver.jpg" name="button2" border="0" id="button2" /></a><br />
<a href="gallery.htm" onmouseover="mouseoverroutine('button3')" onmouseout="mouseoutroutine('button3')"><img src="TestGallery.jpg" width="120" height="45" alt="TestGalleryOver.jpg" name="button3" border="0" id="button3" /></a><br />
<a href="map.htm" onmouseover="mouseoverroutine('button4')" onmouseout="mouseoutroutine('button4')"><img src="TestMap0.jpg" width="120" height="45" alt="TestMapOver.jpg" name="button4" border="0" id="button4" /></a><br />
<a href="history.htm" onmouseover="mouseoverroutine('button5')" onmouseout="mouseoutroutine('button5')"><img src="TestHistory.jpg" width="120" height="45" alt="TestHistoryOver.jpg" name="button5" border="0" id="button5" /></a><br />
<a href="localtrades.htm" onmouseover="mouseoverroutine('button6')" onmouseout="mouseoutroutine('button6')"><img src="TestLocalTrades.jpg" width="120" height="45" alt="TestLocalTradesOver.jpg" name="button6" border="0" id="button6" /></a><br />
<a href="activities.htm" onmouseover="mouseoverroutine('button7')" onmouseout="mouseoutroutine('button7')"><img src="TestActivities.jpg" width="120" height="45" alt="TestActivitiesOver.jpg" name="button7" border="0" id="button7" /></a><br />
<a href="community.htm" onmouseover="mouseoverroutine('button8')" onmouseout="mouseoutroutine('button8')"><img src="TestCommunity.jpg" width="120" height="45" alt="TestCommunityOver.jpg" name="button8" border="0" id="button8" /></a></strong></td>
</tr>
</table>
</div>
<div id="main">  <br /><br /><br /><br /><!--<br /><br /><br /> <br /><br /> -->
<table border="5" width="85%" align="right" cellpadding="2">
<tr>
<td align="center" width="60%"><a onmouseover="swapper('img1',2)" onmouseout="swapper('img1',1)" href="javascript:void"><img name="img1" border="0" hspace="0" align="left" class="c1" src="QueenVic.jpg" alt="Queen Vic" id="img1" /></a></td>
<td width="40%">
<h4><strong>Richard &amp; Judy are waiting to welcome you to the Queen Vic Our authentic country pub<br />
<br />
Enjoy the pleasant ambience and the home cooked fresh food<br />
<br />
We will do all we can to make your visit a real pleasure<br />
<br /></strong></h4>
<h3>Tel: 01245 222176</h3>
<div class="c3"><img src="counter.bmp" border="0" hspace="0" align="middle" class="c2" alt="Hit Box" /></div>
<div class="c3"><img src="WHC.jpg" border="0" hspace="0" align="middle" class="c4" alt="Hit Box" /></div>
<center><div class="c3"><p>
    <a href="http://validator.w3.org/check?uri=referer"><img
        src="http://www.w3.org/Icons/valid-xhtml10"
        alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </p></div></center>
</td>
</tr>
</table>
</div>

</div>
</body>
</html>
Comment 1 Olivier Thereaux 2009-01-21 21:57:29 UTC
Direct input does not (yet) support input of HTML files, hence this bug.

*** This bug has been marked as a duplicate of bug 152 ***