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

Re: problem with validator

From: Thanasis Kinias <tkinias@optimalco.com>
Date: Thu, 8 Aug 2002 08:53:25 -0700
To: "Lee A. Jones" <lee@archid.co.uk>
Cc: www-validator@w3.org
Message-ID: <20020808155325.GA15283@optimalco.com>

scripsit Lee A. Jones:
> 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.

The validator output [1] gives only the following errors:
] Error: illegal character number 0
] Error: text is not allowed here; try wrapping the text in a more
] descriptive container

The first refers to a stray null character (&#0;) after the </HTML>.
The null character isn't apparently allowed in SGML.  The second is
because that character occurs after </HTML>, where no character data are

> yet when I replace the 'detect' with the character and doctype already used
> in the document, it validates with no errors!

I cannot reproduce this result.

However, I edited the source, removing the stray null, and posted it on
a public server [2].  Validating that edited markup, I get no errors


1. <http://validator.w3.org/check?uri=http%3A%2F%2Ffly.aeropork.com%2Farchid%2Fcontent%2Fethos.html&charset=iso-8859-1+%28Western+Europe%29&doctype=%28detect+automatically%29>

2. <http://www.public.asu.edu/~tkinias/ethos.html>

3. <http://validator.w3.org/check?uri=http%3A%2F%2Fwww.public.asu.edu%2F%7Etkinias%2Fethos.html&charset=%28detect+automatically%29&doctype=Inline>

Thanasis Kinias
Web Developer, Information Technology
Graduate Student, Department of History
Arizona State University
Tempe, Arizona, U.S.A.

Ash nazg durbatulūk, ash nazg gimbatul,
Ash nazg thrakatulūk agh burzum-ishi krimpatul
Received on Thursday, 8 August 2002 11:53:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:34 UTC