W3C home > Mailing lists > Public > ietf-discuss@w3.org > February 1999

Re: Binary data in text-based protocol formats

From: Martin J. Duerst <duerst@w3.org>
Date: Sun, 21 Feb 1999 11:40:59 +0900
Message-Id: <199902212128.GAA02039@sh.w3.mag.keio.ac.jp>
To: Paul Hoffman / IMC <phoffman@imc.org>
Cc: Jacob Palme <jpalme@dsv.su.se>, discuss@apps.ietf.org
At 09:14 99/02/20 -0800, Paul Hoffman / IMC wrote:
> At 12:36 PM 2/20/99 +0100, Jacob Palme wrote:
> >I have looked at the XML specs, and not found any good way
> >of putting binary data into XML either. Have I missed
> >something?
> Only the embarrassed groans of many people in the XML community. :-)

XML is a text format. As such, it can be transcoded by mail gateways.
If you label something as
    Content-Type: text/xml; charset=us-ascii
and it gets transcoded to EBCDIC, the binary data won't survive.

The web can easily include binary data, it's done all the time
with images, just use a link instead of putting things inline :-).

Regards,   Martin.

#-#-#  Martin J. Du"rst, World Wide Web Consortium
#-#-#  mailto:duerst@w3.org   http://www.w3.org
Received on Sunday, 21 February 1999 16:35:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:08:05 UTC