W3C home > Mailing lists > Public > www-validator-cvs@w3.org > April 2008

[Bug 5662] Error Message refers to blank line and therefore will not validate

From: <bugzilla@farnsworth.w3.org>
Date: Fri, 25 Apr 2008 08:40:07 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JpJTT-0005bP-TV@farnsworth.w3.org>


           Summary: Error Message refers to blank line and therefore  will
                    not validate
           Product: CSSValidator
           Version: CSS Validator
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P1
         Component: CSS 2.1
        AssignedTo: dave.null@w3.org
        ReportedBy: peter@gaywood.dialstart.net
         QAContact: www-validator-cvs@w3.org

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"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<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
Finger,Canterbury,Steam Brewery,Brewer,Brewery,Master
Ale,Master Brew,Best Bitter,Early Bird,Goldings,Late Red,Original
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)

<script src="myswapmain.js" type="text/javascript">
<style type="text/css">

              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 |

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

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

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

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

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

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;}


<style type="text/css">
 img.c4 {height: 20px; width: 100px}
 div.c3 {text-align: center}
 img.c2 {height: 30px; width: 100px}
 img.c1 {height: 350px; width: 500px}
<div id="header">
<h2>The Queen Victoria ~ Woodham Walter</h2>
<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>
<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>
<li><a href="drink.htm"><img src="Drink.gif" alt="ag" /></a>
<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>
<li><a href="events.htm"><img src="Events.gif" alt="al" /></a>
<li><a href="events.htm#events1"><img src="QuizEvenings.gif" alt="am"
<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>
<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">
<td width="20"><strong><a href="mailto:queen.victoria@btconnect.com"
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>
<div id="main">  <br /><br /><br /><br /><!--<br /><br /><br /> <br /><br />
<table border="5" width="85%" align="right" cellpadding="2">
<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
        alt="Valid XHTML 1.0 Transitional" height="31" width="88"

Received on Friday, 25 April 2008 08:40:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:28 UTC