W3C home > Mailing lists > Public > www-validator@w3.org > August 2002

Re: problem with validator

From: Terje Bless <link@pobox.com>
Date: Thu, 8 Aug 2002 17:30:04 +0200
To: W3C Validator <www-validator@w3.org>
cc: "Lee A. Jones" <lee@archid.co.uk>
Message-ID: <r01050300-1015-90A09A8DAAE411D6AE3600039300CF5C@[193.157.66.10]>

Lee A. Jones <lee@archid.co.uk> wrote:

>I have a web page with the W3C validation graphic on it, and a link to
>the W3C validator page.
>
>When it tries to validate the page
>(http://fly.aeropork.com/archid/content/ethos.html) it tells me that the
>page does not validate if it detects automatically, the character set
>and doc type.
>
>yet when I replace the 'detect' with the character and doctype already
>used in the document, it validates with no errors!
>
>Why is this? Is this something to do with my webpage (which
>DirectNIC.com swear is nothing to do with them) or is it something
>quirky to do with the validator.


Well, it's certainly a bug in the Validator. Several in fact (see below).

But what you are seeing is a result of a hidden ASCII NUL (0x00) character
at the end of your HTML file. If you delete that the page should validate
just fine.


The error reporting is clearly on the fritz here though. First of all that
column number is off by about 380 characters (I think I have a patch for
this sitting around somewhere). More importantly though, it looks like we
have something strange going on with the charset and doctype overrides. The
same results should be reported in both cases.


Thanks for the feedback, Lee! We'll look into it and see what we can do to
fix these bugs.

-- 
Ladies and gentlemen, you must resist those all-too-human feelings and decide
this case on the evidence.    And the evidence plainly shows that Mr. Landa's
injuries,   disfiguring as they are,  are nowhere near as important to a free
society as the fundamental right to make smart-ass remarks.   -- Katie @ AtAT
Received on Thursday, 8 August 2002 11:36:20 GMT

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