From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Fran=C3=A7ois_Pinard?= Subject: Re: [PATCH] export to various flavors of (X)HTML Date: Tue, 23 Apr 2013 08:09:04 -0400 Message-ID: <86wqrtwisf.fsf@iro.umontreal.ca> References: <878v4elu5h.fsf@ericabrahamsen.net> <87y5cdkiuj.fsf@ericabrahamsen.net> <20130423010019.GA65517@BigDog.local> <87sj2h3m3s.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUc20-0007Q6-1q for emacs-orgmode@gnu.org; Tue, 23 Apr 2013 08:09:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUc1y-0007KB-3N for emacs-orgmode@gnu.org; Tue, 23 Apr 2013 08:09:07 -0400 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:64832 helo=mercure.bureau.ubity.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUc1x-0007K2-Py for emacs-orgmode@gnu.org; Tue, 23 Apr 2013 08:09:05 -0400 In-Reply-To: <87sj2h3m3s.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 23 Apr 2013 12:30:15 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric Abrahamsen writes: > I read that as just a better statement of what I was trying to say > earlier: self-closing tags will render in HTML4, but they're not > _strictly correct_ HTML4. I do not understand this assertion. I thought that HTML, up to but excluding HTML5, *is* also valid SGML. If I remember well, self-closing tags date back to SGML, not requiring (but also not forbidding) an introducing space to the closing slash. SGML does allow for closing tags to be optionally omitted (and for opening tags as well) but such optional omissions have to described in the DTD. These features were all meant to favor human legibility of SGML documents, and HTML did use them a lot. These, combined with the generality of the described grammar, made generic SGML validating parsers quite difficult to write, and also, quite expensive at the time (no real problem as most SGML projects usually involved big money). XML was all of a swing in the other direction: trading human legibility in favor of much easier parsing, and was quite successful as it addressed the same problems as SGML, but in a much cheaper and democratic way. But XML (and XHTML) are not SGML anymore. And HTML5 is neither :-). Fran=C3=A7ois