From owner-freebsd-www@FreeBSD.ORG Fri Mar 4 14:24:03 2005 Return-Path: Delivered-To: freebsd-www@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 571E216A4CE for ; Fri, 4 Mar 2005 14:24:03 +0000 (GMT) Received: from shrike.submonkey.net (cpc4-cdif3-6-1-cust116.cdif.cable.ntl.com [82.23.41.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id D30B843D31 for ; Fri, 4 Mar 2005 14:24:02 +0000 (GMT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.44 (FreeBSD)) id 1D7Dij-000Mic-PO; Fri, 04 Mar 2005 14:24:01 +0000 Date: Fri, 4 Mar 2005 14:24:01 +0000 From: Ceri Davies To: "Devon H. O'Dell" Message-ID: <20050304142401.GQ27332@submonkey.net> Mail-Followup-To: Ceri Davies , "Devon H. O'Dell" , www@FreeBSD.org References: <1109934321.3926.52.camel@localhost.localdomain> <20050304113539.GN27332@submonkey.net> <1109938964.3926.57.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYjDATHXTWnytHRU" Content-Disposition: inline In-Reply-To: <1109938964.3926.57.camel@localhost.localdomain> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.8i Sender: Ceri Davies cc: www@FreeBSD.org Subject: Re: Tags like
and our current doctype X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2005 14:24:03 -0000 --zYjDATHXTWnytHRU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 04, 2005 at 01:22:44PM +0100, Devon H. O'Dell wrote: > On Fri, 2005-03-04 at 11:35 +0000, Ceri Davies wrote: > > On Fri, Mar 04, 2005 at 12:05:21PM +0100, Devon H. O'Dell wrote: > > > >From what I recall, tags like
are self closing in the HTML 4.0 = and > > > 4.01 doctypes, i.e.
is redundant and confuses (or is supposed = to > > > anyway) the parser into thinking the last tag was closed. > > >=20 > > > However, if I change this to
, even with our doctype, it freaks o= ut. > > > I suppose that the parser doesn't really care what our doctype is, it > > > just wants the content to be XML-compliant. > > >=20 > > >
is XML compliant, if you have the right entity definition. > > >=20 > > > So I see two possible options for the future: > > >=20 > > > 1) Figure out how to make the parser like
and keep our current > > > doctype (or upgrade to HTML 4.01/Strict), or > > >=20 > > > 2) Hop over to XHTML 1.0/Transitional, which will allow us to utilize > > > features of XHTML (and let us keep
, which is valid in XHTML) > > > while still having our Content-type as text/html (this isn't allowed = for > > > any other XHTML doctype) > >=20 > > #2 is best. I made a patch ages and ages ago for this (not a full > > patchset, mind you) that might even vaguely apply still; search the > > archives for a post from me with a subject containing "XHTML" and you > > should find it. >=20 > Well, it currently validates as XHTML. Just need to work out a couple > quirks in the layout :) index.html does; none of the others do (as I recall). Ceri --=20 Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Einstein (attrib.) --zYjDATHXTWnytHRU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCKG+BocfcwTS3JF8RAgj3AKCHQGTBfcS3eFLbeda6VuWiIwHX+QCfZtJG oWijtHdQ3AKlB7oq8Uim2xg= =cbHz -----END PGP SIGNATURE----- --zYjDATHXTWnytHRU--