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 19337 - Multiple and incorrect line numbers for single error
Summary: Multiple and incorrect line numbers for single error
Status: NEW
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 3 (show other bugs)
Version: CSS Validator
Hardware: PC Linux
: P2 normal
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: 2012-10-08 11:33 UTC by Paul Arzul
Modified: 2012-10-08 11:38 UTC (History)
0 users

See Also:


Attachments

Description Paul Arzul 2012-10-08 11:33:37 UTC
Validating:
http://www.dongolahouse.co.za/

We see the error:
248		 Unknown error org.w3c.css.parser.analyzer.TokenMgrError: Lexical error at line 1, column 57. Encountered:  after : ""

Two lines numbers are mentioned - 248 and 1:

* Line 248 of the HTML source is blank.
* Line 1 is the DOCTYPE.

Line 249 is the culprit:

<div style="height:234px; width:980px; overflow:hidden; background:#">
Comment 1 Paul Arzul 2012-10-08 11:38:32 UTC
Perhaps related... The same file has another off by one error:

253		 Parse Error  opacity=0)

That's actually on line 254:

  <img src="/images/stories/banner/slide1.jpg" style="border: 0 none; filter: alpha(opacity=0); -moz-opacity: 0; opacity: 0;" id="blendimage" alt="" class="reflect"/></img>