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

RE: basic qs - how is xml more flexible for exchanging data?

  • To: "Tech Rams" <techmailing@y...>,"Anil Philip" <goodnewsforyou@y...>,"Michael Kay" <mike@s...>,"xml dev" <xml-dev@l...>
  • Subject: RE: basic qs - how is xml more flexible for exchanging data?
  • From: "Hurd, Bruce" <Bruce.Hurd@n...>
  • Date: Fri, 16 Sep 2005 13:11:50 +1200
  • Thread-index: AcW6UqtexgoepT2qS/eiRWumGTdBwwABhm5w
  • Thread-topic: basic qs - how is xml more flexible for exchanging data?

xml more structures
The two main differences between XML and struct's is that XML doesn't
dictate the structure of the data whereas a struct does by definition.
The second main difference is that XML is self describing.  Sure you
don't get context, that would be impossible to define in an open
standard.  For example, its not XML's job to tell you what a <book />
means but it is its job to tell that it is a book.  That's description.
Where as the contents of a struct is merely a stream of bytes, there's
nothing there but the content.

These are the main reasons why XML became such a great standard.  As
soon as you define a structure you're also implying and/or limiting
implementation which reduces the inter-operability of that data.
Defining structure is the job of the data's author, not the transport
mechanism.

-Bruce


-----Original Message-----
From: Tech Rams [mailto:techmailing@y...] 
Sent: Friday, 16 September 2005 12:06 p.m.
To: Anil Philip; Michael Kay; 'xml dev'
Subject: RE:  basic qs - how is xml more flexible for
exchanging data?

I think Michael's point was precisely about binary
data - no one has issues with text/ascii data
(mostly).

How can you guarantee that who ever is receiving the
data (and whenever) will be able to reconstruct the
structure you have, given Michael's points?

-rams

--- Anil Philip <goodnewsforyou@y...> wrote:

> I dont think you understood the post - I meant when
> one transfers binary data (in a file or stream). I
> am
> not referring to C compilers and it's not about
> metadata or validation. Where are you now?
> 
> --- Michael Kay <mike@s...> wrote:
> 
> > Two C compilers on different architectures would
> > represent that structure
> > quite differently. There's no data interchange
> there
> > at all except between
> > identical machines with identical compilers
> running
> > identical applications;
> > there's no scope for attaching metadata to the
> > message; there's no scope for
> > validation... Where have you been all these years?
> > 
> > Michael Kay
> > http://www.saxonica.com/
> > 
> > 
> > 
> 
> 
> 
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> 
>
-----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org
> <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at
> http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the
> subscription
> manager:
> <http://www.oasis-open.org/mlmanage/index.php>
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://www.oasis-open.org/mlmanage/index.php>


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.