[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: table.el downcase HTML tags
From: |
Kevin Rodgers |
Subject: |
Re: table.el downcase HTML tags |
Date: |
Tue, 30 May 2006 15:00:16 -0600 |
User-agent: |
Thunderbird 1.5.0.2 (Windows/20060308) |
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 "<TABLE %s>\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
Re: table.el downcase HTML tags, Carsten Dominik, 2006/05/31
Re: table.el downcase HTML tags, Kim F. Storm, 2006/05/31