[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML media types revisited

  • From: John Cowan <cowan@l...>
  • To: XML Dev <xml-dev@i...>
  • Date: Fri, 15 Jan 1999 10:15:46 -0500

ebcdic xml
David LeBlanc wrote:

> I don't agree with the idea that XML is a replacement for ASCII.

Figuratively, not literally.  The idea is that XML is meant to become
the (near)ubiquitous way of expressing structured text or data, just as
plain ASCII is the (near)ubiquitous way of expressing plain text
or data.  (But not forever: Unicode plain text rulz!)

> [T]here are no technical reasons that I
> know of why XML could not be represtented in EBCDIC or ASCII (aside from
> standard compliance).

Indeed, it is perfectly standards-compliant to have EBCDIC XML documents,
as long as they begin with the characters "<?xml" (expressed in
EBCDIC) and mention a proper code-page in the character set
declaration.  EBCDIC code pages have 3 names each:  "IBMnnn", "cpnnn",
and "ebcdic-cp-xx" where nnn is a CP number and xx is a country code.
Whether any XML parsers interpret these names is a question.

> Neither does "application" imply C, C++, Java or whatever else. In fact, I
> wonder if "application/xml" is appropriate at all - does "application/RTF"
> or "application/TROFF" make sense?

Yes, very much so.  Troff source can and should be specified as
"application/x-troff" and could be registered as "application/troff"
if anyone wanted to bother.  But "text/x-troff" would be reasonable
too, since much troff source can reasonably read as plain text.
RTF source is usually too *busy* to be read as plain text, though.

Anent the "application" top-level type, RFC 2046 saith:

# [...T]ypically either uninterpreted binary data or information to be
# processed by an application.  [... E]xpected uses for "application"
# include spreadsheets, data for mail-based scheduling systems, and
# languages for "active" (computational) messaging, and word
# processing formats that are not directly readable.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@c...
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.