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 in XML

[ Lists Home | Date Index | Thread Index ]
  • From: Peter Murray-Rust <peter@ursus.demon.co.uk>
  • To: <xml-dev@ic.ac.uk>
  • Date: Wed, 30 Sep 1998 18:26:13

At 12:11 30/09/98 -0400, Jonathan  A. Borden wrote:
>The Web has exploded in use not because of HTML itself, rather this in
>conjunction with HTTP's MIME variant -- to be realistic what would the Web
>be like without pictures i.e. gif and jpeg). If base64 is used within XML, a
>similar typing mechanism is also required.

This seems reasonable to me - and could be accompanied by a mime attribute
- e.g:

<CML:molecule xml:packed="base64" xml:mime="chemical/x-chemdraw">... base64
encoding of horrid binary file ... </CML:molecule>

I know that this can also be done using NOTATION but also that - like many
others - I don't know how to do it and have never seen a NOTATION used in
XML documents. I therefore support Tim's suggestion of bolting xml:packed
into the language and suggest xml:mime as a companion.


I also know - and approve - that it can be done with XLink, but note that
these are untyped so would also benefit from xml:mime, e.g:

<p> This is a <a href="mol.cdw" xml:mime="chemical/x-chemdraw">molecule</a>
... </p>


Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary

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