OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Binary Data

[ Lists Home | Date Index | Thread Index ]
  • From: "Kerry Coffin" <k_coffin@conknet.com>
  • To: "Rick Jelliffe" <ricko@allette.com.au>,"Michael Emmel" <mike@jmaca.com>,<xml-dev@ic.ac.uk>
  • Date: Sat, 21 Feb 1998 21:57:20 -0500

What is Base64?

Regards,
Kerry Coffin
Environmental Systems Research Institute (ESRI)

-----Original Message-----
From: Rick Jelliffe <ricko@allette.com.au>
To: Michael Emmel <mike@jmaca.com>; xml-dev@ic.ac.uk <xml-dev@ic.ac.uk>
Date: Friday, February 20, 1998 9:44 PM
Subject: Re: Binary Data


>
>
>From: Michael Emmel <mike@jmaca.com>
>
>
>
>>Is it possible to include binary data in a XML document  and follow the
>>spec.
>
>
>It is possible to have binary data in an XML *document* but it is not
>possible
>to have (unencoded) binary data in an XML text *entity*.  A document is
>constructed from entities. An entity is usually a file. An entity is either
>text
>or binary (NDATA) but not both.
>
>You can use Base64 encoding to stick non-text data inside elements:
>
><!DOCTYPE foo [
><!NOTATION base64 SYSTEM "put URL of base 64 code here, or omit this
string"
>...
>]>
><foo>
>...
><binary-data notation="base64">...</binary-data>
>...
></foo>
>
>
>CDATA marked sections are only a shorthand mechanism for data which has a
>lot of
>"&" or "<" characters which you might find tedious to delimit into entity
>references.
>It is not a mechanism for embedding raw binary, per se.
>
>Rick Jelliffe
>
>
>xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
>Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
>To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
>(un)subscribe xml-dev
>To subscribe to the digests, mailto:majordomo@ic.ac.uk the following
message;
>subscribe xml-dev-digest
>List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
>


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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS