From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: table.el downcase HTML tags
Date: Tue, 30 May 2006 15:00:16 -0600 [thread overview]
Message-ID: <e5ibqb$4ii$1@sea.gmane.org> (raw)
In-Reply-To: <447CA3DC.4060006@student.lu.se>
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
next prev parent reply other threads:[~2006-05-30 21:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-30 17:13 table.el downcase HTML tags Tak Ota
2006-05-30 19:23 ` Mathias Dahl
2006-05-30 19:58 ` Lennart Borgman
2006-05-30 20:18 ` Ted Zlatanov
2006-05-30 22:08 ` Stuart D. Herring
2006-05-30 22:42 ` Lennart Borgman
2006-05-31 14:33 ` Ted Zlatanov
2006-05-31 7:52 ` Kim F. Storm
2006-05-31 14:26 ` Ted Zlatanov
2006-05-31 15:10 ` Kim F. Storm
2006-05-30 21:00 ` Kevin Rodgers [this message]
2006-05-31 14:19 ` Carsten Dominik
2006-05-31 8:00 ` Kim F. Storm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='e5ibqb$4ii$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.