From owner-freebsd-www@FreeBSD.ORG Fri Mar 4 11:05:24 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 A10B916A4CE for ; Fri, 4 Mar 2005 11:05:24 +0000 (GMT) Received: from smtpq2.home.nl (smtpq2.home.nl [213.51.128.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F42D43D2D for ; Fri, 4 Mar 2005 11:05:24 +0000 (GMT) (envelope-from dodell@sitetronics.com) Received: from [213.51.128.134] (port=42948 helo=smtp3.home.nl) by smtpq2.home.nl with esmtp (Exim 4.30) id 1D7AcV-0003L9-C7 for www@FreeBSD.org; Fri, 04 Mar 2005 12:05:23 +0100 Received: from cc740438-a.deven1.ov.home.nl ([82.72.18.239]:33335 helo=192.168.1.104) by smtp3.home.nl with esmtp (Exim 4.30) id 1D7AcU-0000bp-6E for www@FreeBSD.org; Fri, 04 Mar 2005 12:05:22 +0100 From: "Devon H. O'Dell" To: www@FreeBSD.org Content-Type: text/plain Organization: SiteTronics Date: Fri, 04 Mar 2005 12:05:21 +0100 Message-Id: <1109934321.3926.52.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Subject: 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 11:05:24 -0000 >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. However, if I change this to
, even with our doctype, it freaks out. I suppose that the parser doesn't really care what our doctype is, it just wants the content to be XML-compliant.
is XML compliant, if you have the right entity definition. So I see two possible options for the future: 1) Figure out how to make the parser like
and keep our current doctype (or upgrade to HTML 4.01/Strict), or 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) Ideas? --Devon