W3C home > Mailing lists > Public > www-validator@w3.org > September 2003

[BUG?] wrong column number

From: Paul Arzul <patricka@mkdoc.com>
Date: Tue, 30 Sep 2003 17:24:59 +0100
To: www-validator@w3.org
Message-ID: <20030930162459.GK1998@mkdoc.com>

testcase:
                                                                                                                                               
---8<---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
                                                                                                                                               
<head>
  <title>column number test</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
                                                                                                                                               
<body>
                                                                                                                                               
<p>
1234567890123
123<typo>0123
1234567890123
</p>
                                                                                                                                               
<p>the above unknown element should appear on line 13, <em>column 4</em>, maybe 5.</p>
                                                                                                                                               
</body>
                                                                                                                                               
</html>
--->8---
                                                                                                                                               
by my naive understanding, it should report the <typo> on column *4*
(maybe 5).
                                                                                                                                               
the validator lists the problem at column 8, while the column indicator
(the caret ^) indicates column 9.

for comparison, the wdg's[1] caret indicator and column number are in
agreement on column 9.
                                                                                                                                               
- p
                                                                                                                                               
1. http://www.htmlhelp.com/tools/validator/
Received on Tuesday, 30 September 2003 12:25:44 GMT

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