Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2002 09:06:12 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Hiten Pandya <hiten@unixdaemons.com>
Cc:        freebsd-doc@FreeBSD.org, Farhad Saberi <farhad.saberi@mail.mcgill.ca>
Subject:   Re: Bad vinum html page
Message-ID:  <20021226223611.GB21641@wantadilla.lemis.com>
In-Reply-To: <3E0B2FF5.30505@unixdaemons.com>
References:  <3E0B2FF5.30505@unixdaemons.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thursday, 26 December 2002 at 16:36:05 +0000, Hiten Pandya wrote:
> --- Greg 'groggy' Lehey <grog@FreeBSD.org> wrote:
>
> Netscape 4.9 is from the time when DIV tags were only used
> extensively on "IE only" sites; but now its part of the HTML
> standard.

In fact, as I mentioned,

>> According to my dated HTML book, only Netscape supports this
>> tag--possibly differently?

> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>
>> can't work out what kind of document it is, so it's probably worth
>> somebody with more SGML-foo than me to put some effort into making
>> the pages standards-compliant.
>
> I am surprised why the validator doesn't pick this up.  If you
> explicitily select `HTML 4.01 Transistional' from the option box
> (http://validator.w3.org/), then it shows 12 errors, all to do
> with URLs of type:
>
> 	"http://www.FreeBSD.org/cgi/man.cgi?query=vinum&sektion=8"
>
> This can be solved by using single quotes e.g: <a href='...'>,
> because the &sektion is thought of as an entity by the parser.

Hmm.  THe use of & in URLs is pretty common.  You'd think that the
standards people would have made some judgment on that.

> Either that, or the validator is broken -- which is very unlikely.

FWIW, the validator and tidy aren't in agreement.  tidy creates XHTML
with attributes which the validator doesn't understand:

   1.  Line 32, column 15:  value of attribute "id" invalid

      <h2><a id="1" name="1">Sunday, 1 December 2002</a></h2>
                 ^

> On that note, it makes me wonder why we use `sektion' and not
> 'section'? :-)

Written by a German?

> One more thing, we should encode the document char-set type, so that
> the validator can work with our documents:
>
> <meta http-equiv="Content-Language" content="en-us">
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Agreed.

Greg
--
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021226223611.GB21641>