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

Re: SAX for Binary Encodings (SAD-SAX)


sax 007
On Sat, Nov 08, 2003 at 12:37:15PM -0500, Elliotte Rusty Harold wrote:
> At 11:22 AM -0500 11/8/03, Bob Wyman wrote:
[...]
> You are proposing to add binary data to the core of XML. When you 
> tell me that you want to pass 32-bit integers as pure binary, then 
> you are saying that 7, 07, +07, 0007, and so forth are the same 
> thing.

This is of course absurd.

If you choose to pass the string "007" then any interchange
encoding worth its salt will transmit "007".

If you choose to pass the typed value "integer: 7" then any
interchange encoding worth its salt will transmit that value,
possibly using as few as 3 or 4 bits.

> All data in an XML document is text, never anything else.

All data in a textual XML document is *represented* as text.
But that text often represents non-textual value.

The value of the textual representation is that it is shared,
not that it limits all possible data to text.

Happily, I can refer to dates, to amounts of money, to places,
to distances, to the colour of my socks, or to the strange
feeling of dislocation I had when I awoke from a dream last
night.  None of these things are text, and yet you are reading
them in this textual email message.

It's interesting that there was similar opposition to MIME,
since all email was text, and yet MIME is part of what
enabled the World Wide Web, and is what lets people send
each other email attachments such as viruses :-)

The idea that we interchange text is, however, a fiction at
another level: as far as the computer is concerned, we
interchange sequences of numbers.  Typically these are
sequences of octets of binary digits, although there have
been (and probably still are) systems that use other models.

When you say that only one view of a layered architecture is
acceptable, you succumb, I claim, to the hubris of the dogmatic.
WHen you say that your particular viewpoint is the only one
acceptable for others, you go beyond the dogmatic to the didactic.

It might be that interchange of binary information in any
non-textual representation is not a change we should sanction
at the W3C (although that will not stop others from doing it),
but at least let us all make a decision based on careful and
clear reasoning, and let that reasoning use reproducible
measurements wherever possible as a basis, not mere dogma.

Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/

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.