From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: table.el downcase HTML tags Date: Tue, 30 May 2006 15:00:16 -0600 Organization: IHS Message-ID: References: <20060530.101335.127866384.Takaaki.Ota@am.sony.com> <7dbe73ed0605301223s23b0bee6x6f458068ad408a79@mail.gmail.com> <447CA3DC.4060006@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1149022943 5037 80.91.229.2 (30 May 2006 21:02:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 May 2006 21:02:23 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 30 23:02:20 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FlBLq-0005eS-H1 for ged-emacs-devel@m.gmane.org; Tue, 30 May 2006 23:02:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FlBLq-0000Fw-2v for ged-emacs-devel@m.gmane.org; Tue, 30 May 2006 17:02:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FlBLe-0000Fh-3a for emacs-devel@gnu.org; Tue, 30 May 2006 17:01:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FlBLc-0000DI-QE for emacs-devel@gnu.org; Tue, 30 May 2006 17:01:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FlBLc-0000DA-Ew for emacs-devel@gnu.org; Tue, 30 May 2006 17:01:52 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FlBRU-0005dF-87 for emacs-devel@gnu.org; Tue, 30 May 2006 17:07:56 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FlBKw-0005XU-6b for emacs-devel@gnu.org; Tue, 30 May 2006 23:01:10 +0200 Original-Received: from 207.167.42.206 ([207.167.42.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 May 2006 23:01:10 +0200 Original-Received: from ihs_4664 by 207.167.42.206 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 May 2006 23:01:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 44 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.206 User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) In-Reply-To: <447CA3DC.4060006@student.lu.se> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55499 Archived-At: Lennart Borgman wrote: > Mathias Dahl wrote: >>> This has been requested for many times that HTML tags that table.el >>> generates to be downcased to be compatible with XHTML standard. If no >>> one objects could someone check the following change into the >>> repository. Thanks. >>> >>> < (format "\n" table-html-table-attribute) >> >> Why not making it configurable? I don't care about the case in this >> case (haha!) but I am sure some do. > I do not know of any case where uppercase tags is useful. Are there > really any such cases? No, because HTML is a case-insensitive SGML application: See http://www.w3.org/TR/html4/ HTML 4 is an SGML application conforming to International Standard ISO 8879 -- Standard Generalized Markup Language [ISO8879]. See http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.1 Element names are always case-insensitive. See http://www.w3.org/TR/html4/sgml/sgmldecl.html NAMECASE GENERAL YES ENTITY NO Note however, that clause 9.3 of ISO 8879 states that The upper-case form of each character in a name, name token, number, or number token, as specified by the "NAMECASE" parameter of the SGML declaration, is substituted for the character actually entered. so the uppercase names are actually canonical in HTML, whereas the lowercase names are mandatory in XHTML which is a (case-sensitive) XML application. -- Kevin