W3C home > Mailing lists > Public > www-validator@w3.org > December 2001

Re: weird validator bug

From: Nick Kew <nick@webthing.com>
Date: Wed, 19 Dec 2001 19:09:03 +0000 (GMT)
To: "Bailey, Bruce" <Bruce.Bailey@ed.gov>
cc: "'www-validator@w3.org'" <www-validator@w3.org>
Message-ID: <20011219190305.B1350-100000@fenris.webthing.com>

On Wed, 19 Dec 2001, Bailey, Bruce wrote:

> When attempting to validate the attached file, I get an error three
> identical messages on lines 153, 154, 155.
> The lines in question are like:
> <td headers="a212 b221 c241">104.02</td>
> With the caret ^ pointing to the "a".
> The error message itself is also spurious:
> "Error: X"

The error message should read
"reference to non-existent ID "C241"

The problem with the W3C validator is that it misparses the nsgmls
output in this kind of instance.  My page at
<URL:http://valet.webthing.com/xml/> discusses the difficulties
that lead to this, and presents a solution.

[plug to w3c: another reason you need to adopt XMLMessageReporter -
it will fix this bug for free :-) ]

-- 
Nick Kew

Site Valet - the mark of Quality on the Web.
<URL:http://valet.webthing.com/>
Received on Wednesday, 19 December 2001 14:09:09 GMT

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