From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?=D8yvind?= Stegard Subject: XHTML export - Upper case tag is invalid XHTML Date: Tue, 30 Oct 2007 13:47:13 +0100 Message-ID: <1193748433.7431.8.camel@blackelf> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImqV4-00045l-1K for emacs-orgmode@gnu.org; Tue, 30 Oct 2007 08:47:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImqV2-000435-0x for emacs-orgmode@gnu.org; Tue, 30 Oct 2007 08:47:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImqV1-00042t-U2 for emacs-orgmode@gnu.org; Tue, 30 Oct 2007 08:47:15 -0400 Received: from pat.uio.no ([129.240.10.15]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ImqV1-0004Ru-AI for emacs-orgmode@gnu.org; Tue, 30 Oct 2007 08:47:15 -0400 Received: from mail-mx4.uio.no ([129.240.10.45]) by pat.uio.no with esmtp (Exim 4.67) (envelope-from ) id 1ImqUz-0005F3-7v for emacs-orgmode@gnu.org; Tue, 30 Oct 2007 13:47:13 +0100 Received: from smtp.uio.no ([129.240.10.9] helo=mail-mx4.uio.no) by mail-mx4.uio.no with esmtp (Exim 4.67) (envelope-from ) id 1ImqUy-0000zk-Tw for emacs-orgmode@gnu.org; Tue, 30 Oct 2007 13:47:13 +0100 Received: from f3bdhcp5.uio.no ([129.240.92.100]) by mail-mx4.uio.no with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1ImqUy-0000zb-RU for emacs-orgmode@gnu.org; Tue, 30 Oct 2007 13:47:12 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, XML and therefore XHTML is case sensitive with regard to tag names. Org-mode version 5.13h generates upper-case COL tags in XHTML-export, which is invalid. The tag should be in lowercase. The patch below should fix it. --- org.el.orig 2007-10-30 13:34:18.000000000 +0100 +++ org.el 2007-10-30 13:30:40.000000000 +0100 @@ -24127,11 +24127,11 @@ (unless splice (push "\n" html)) (setq html (nreverse html)) (unless splice - ;; Put in COL tags with the alignment (unfortuntely often ignored...= ) + ;; Put in col tags with the alignment (unfortuntely often ignored...= ) (push (mapconcat (lambda (x) (setq gr (pop org-table-colgroup-info)) - (format "%s%s" + (format "%s%s" (if (memq gr '(:start :startend)) (prog1 (if colgropen "\n" "") Regards, =C3=98yvind Stegard PS. I'm not a list subscriber, and only a light-weight org-mode user. --=20 < =C3=98yvind Stegard < oyvinst at ifi uio no > < http://www.oyvind.nu/