W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

[BUG] Warning column numbers incorrect

From: J. David Bryan <jdbryan@acm.org>
Date: Fri, 24 Mar 2000 11:45:43 -0600
To: HTML Tidy List <html-tidy@w3.org>
Message-ID: <OF09ADBD99.45C6CB17-ON8625687C.0026A060@rfdinc.com>

This report is for the Tidy version of 13th January 2000.

The column numbers reported by Tidy in warnings for unknown attributes are
incorrect.  For example, the following HTML:

  <title>Column bugs</title>  <body>
  <p bogus="X" yoohoo="Y">Some text</p>  </html>

reports these warnings:

  line 6 column 1 - Warning: unknown attribute "yoohoo"
  line 6 column 1 - Warning: unknown attribute "bogus"

However, the column numbers should be 14 and 4, respectively.  I presume
but have not verified that "lexer->columns" is not being updated as
attributes are parsed in "lexer.c".

                                      -- Dave
Received on Friday, 24 March 2000 12:47:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:47 UTC