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

Re: Is there anyone working on a binary version of XML?

  • From: "Samuel R. Blackburn" <sblackbu@e...>
  • To: "Stephen D. Williams" <sdw@l...>, <xml-dev@i...>
  • Date: Thu, 25 Mar 1999 17:47:13 -0500

binary to analogue i.c.
XML in its current form cannot handle "binary" data at all.
At best, you would have to convert non-text data to text.
This is usually done via base64.

You could create your own version of XML that could easily
handle non-text data. All you need do is add one attribute to
any XML element that provides the length (in bytes) of the
non-text data. For example:

<GIF bin:length="4096">GIF89a[4090 non-text bytes]</GIF>

The "bin:length" attribute could tell your parser to stop parsing
and store the 4096 bytes following the closing > of the element.
After the 4096 bytes have been stored, start parsing again.

The down side of this approach is:

1) bin:length would have to be agreed on by all binary parsers out there
2) binary XML files cannot be parsed by non-binary aware parsers
(in other words, every parser in the world today)

HTH,

Sam

-----Original Message-----
From: Stephen D. Williams <sdw@l...>
To: xml-dev@i... <xml-dev@i...>
Date: Thursday, March 25, 1999 2:04 PM
Subject: Is there anyone working on a binary version of XML?


>I know, I know, this is anathema to what many of you feel is the essence of
>XML, and I agree to a point.
>I have come to feel however that there is room for a "works-as-if" binary
>analogue to text based XML.  Something that is totally subservient to the
>standard and has exactly equivalent features, but that is highly efficient
>for processing at all levels and easily converted to and from text based
>XML.
>
>In using XML in real-world application work and designing future
>infrastructure that is highly scalable and efficient while making use of
>XML, I have come to the conclusion that I need a standard way to deal with
>an XML analogue that is binary.  There are a multitude of performance
>problems that this solves, not only in parsing and exporting, but
processing
>of related data inside applications.
>
>Before I make all the details and ideas public, I would like to know if
>there is any serious precedent directly dealing with XML.
>
>My design has highly efficient Java processing in mind, but is not specific
>to any particular language.
>Compression is a secondary, but associated issue.
>
>Thanks
>sdw
>--
>OptimaLogic - Finding Optimal Solutions
>Web/Crypto/OO/Unix/Comm/Video/DBMS
>sdw@l...   Stephen D. Williams  Senior Consultant/Architect
>http://sdw.st
>43392 Wayside Cir,Ashburn,VA 20147-4622 703-724-0118W 703-995-0407Fax
>5Jan1999
>
>
>
>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/ and on
CD-ROM/ISBN 981-02-3594-1
>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...)


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/ and on CD-ROM/ISBN 981-02-3594-1
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.