Re: MIME type for XML

RFC 1874 on SGML Media Types defines both text and application
for SGML, with some language that may or may not be relevant;
the main idea appears to be to provide fallback to text/plain
from text/sgml.

ftp://ds.internic.net/rfc/rfc1874.txt

Regards,
    Terry Allen    Fujitsu Software Corp.    tallen@fsc.fujitsu.com
"In going on with these experiments, how many pretty systems do we build,
 which we soon find outselves obliged to destroy?" - Benjamin Franklin
  A Davenport Group Sponsor:  http://www.ora.com/davenport/index.html
From w3c-sgml-wg-request@w3.org Mon Dec  2 16:10 PST 1996
Resent-Date: Mon, 2 Dec 1996 19:01:07 -0500
Resent-Message-Id: <199612030001.TAA11402@www19.w3.org>
X-Sender: murray@mailhost.cambridge.spyglass.com
Mime-Version: 1.0
Date: Mon, 2 Dec 1996 19:02:59 -0400
To: "Christopher R. Maden" <crm@ebt.com>
From: murray@spyglass.com (Murray Altheim)
Subject: Re: MIME type for XML
Cc: w3c-sgml-wg@w3.org
X-List-URL: http://www.w3.org/pub/WWW/Archives/Public/w3c-sgml-wg/
X-See-Also: http://www.w3.org/pub/WWW/MarkUp/SGML/Activity
Resent-From: w3c-sgml-wg@w3.org
X-Mailing-List: <w3c-sgml-wg@w3.org> archive/latest/1760
X-Loop: w3c-sgml-wg@w3.org
Resent-Sender: w3c-sgml-wg-request@w3.org

"Christopher R. Maden" <crm@ebt.com> writes:
>I think that application/xml is necessary, too.  All text/* types, I
>believe, are required to have normalized line endings (0x0d0a).  This
>works for 8-bit encodings, but for 16-bit encodings, 0x000d000a
>becomes 0x000d0a000d0a, which isn't quite the same thing...

This sounds like a conflict with the MIME specification and Unicode that
needs to be resolved, rather than hacking a (albeit, working) solution. XML
documents are by nature 'text', so possibly this is something that has been
already brought up in MIME discussions. Anyone? I was going to ask Glenn
Adams, but he *just* left for the night.

I have to agree with Jon that text/x-xml seems logical (ie., the choice
that people would guess).

Murray

```````````````````````````````````````````````````````````````````````````````
    Murray Altheim, Program Manager
    Spyglass, Inc., Cambridge, Massachusetts
    email: <mailto:murray@spyglass.com>
    http:  <http://www.cm.spyglass.com/murray/murray.html>
           "Give a monkey the tools and he'll eventually build a typewriter."

Received on Monday, 2 December 1996 19:35:32 UTC