[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sponsors.debian.net beta



On 8/18/05, Michael Spang <mspang@twcny.rr.com> wrote:
> Eddy Petrisor wrote:
> 
> >At least for wget. Firefox should not care about the location of the page.
> >
> >I don't want to shoot anybody and the site is great, but these kind of
> >problems can be avoided/fixed by means of using standards.
> >
> >Please mark "pass validator.w3c.org" on the todo list.
> >
> >
> >
> There is a difference. When viewed remotely, the webserver reports a
> mime type in the Content-Type: header, while locally it is autodetected.

There should be a !DOCTYPE header within the page itself.
That's what the standard says. There should be no autodetection
involved because it is prone to error.


The first error at the validation test proves it:
[snip]
 Below are the results of attempting to parse this document with an SGML parser.

   1. Error Line 1 column 0: no document type declaration; implying
"<!DOCTYPE HTML SYSTEM>".

<html>

      The checked page did not contain a document type ("DOCTYPE")
declaration. The Validator has tried to validate with a fallback DTD,
but this is quite likely to be incorrect and will generate a large
number of incorrect error messages. It is highly recommended that you
insert the proper DOCTYPE declaration in your document -- instructions
for doing this are given above -- and it is necessary to have this
declaration before the page can be declared to be valid.
[/snip]

But I see there has been somebody working on this as yesterday there
were 9 errors, while today there are 6. Good work and aim for 0 ;-)

Please, again, use
http://validator.w3.org/check?uri=http%3A%2F%2Fsponsors.debian.net%2F

for the validation of web pages.

> If the server claims a web page is text/plain then Firefox will
> correctly display it as plain text regardless of the actual content. I
> encountered a site with an incorrectly set type just a few days ago.
> That said, sponsors.debian.net is reporting correctly as text/html for
> me so it seems unlikely that this is the problem.

Your point is moot. That _is_ the problem.

-- 
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein



Reply to: