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

Re: use cases: binary XML for scientifc computing

floating point data xml
Title: Message
This is the whole problem of binary scalars: there are several existing formats and more are obviously possible in the future.
The arguments related to binary scalars include:
  1. It's an open-ended mess, just use character representation
  2. Choosing one standard method ("network byte order") is the way to go
  3. Choose the best 'local' method which is great for homogeneity and 'reader makes right' doable by dissimilar communicators.
  4. A new custom binary format is appropriate to the application (such as Oracle's internal Number format which has interesting properties).
Option 3 seems to have the most backing for those who are willing to work past option 1.  This would require that a full implementation of a format, or a layer above it, be able to convert from any "generally accepted" scalar to the local version.  Converting to any "generally accepted" format could be optional, but useful.

This problem of one application, directly or indirectly, choosing a particular format that differs from the reading application also occurs at the character encoding level.  The solution of being able to convert at the receiver and optionally at the sender seems reasonable. 

The remaining problem then is the ability to integrate newly invented scalar representations, but this seems to be a minor issue currently.


Cutler, Roger (RogerCutler) wrote:
Seems to me that DFDL fits the floating point data usage case I contributed very well -- except maybe for the desire for somebody else to handle the floating point conversion issues between platforms.  That is, "just get on with it" when your IO libraries expect different float structures than that of the source of the data can be a bit painful.  My contacts really don't writing that low level code over and over, with of course the potential for getting it a bit wrong somehow each time.
-----Original Message-----
From: mike.beckerle@a... [mailto:mike.beckerle@a...]
Sent: Monday, November 22, 2004 5:31 PM
To: Cutler, Roger (RogerCutler); aslom@c...; sdw@l...
Cc: whoschek@l...; xml-dev@l...; public-xml-binary@w...; kchiu@c...; mgovinda@c...
Subject: RE: use cases: binary XML for scientifc computing

I do believe that GGF DFDL is relevant to the discussion here. https://forge.gridforum.org/projects/dfdl-wg/ is the site, and
https://forge.gridforum.org/docman2/ViewProperties.php?group_id=113&category_id=803&document_content_id=2973 (or http://tinyurl.com/435j7 in case email clobbered the long URL) is the most recent presentation. Around slide 7 is where you'll find content.
Here's a snippet to give you the "DFDL" idea:

swilliams@h... http://www.hpti.com Per: sdw@l... http://sdw.st
Stephen D. Williams 703-724-0118W 703-995-0407Fax 20147-4622 AIM: sdw


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.
First Name
Last Name
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.