[BUG?] wrong column number

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 UTC