[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 exchangingdata?

  • Subject: Re: basic qs - how is xml more flexible for exchangingdata?
  • From: Rick Marshall <rjm@z...>
  • Date: Fri, 16 Sep 2005 09:05:40 +1000
  • Cc: "'xml dev'" <xml-dev@l...>
  • In-reply-to: <200509152159.j8FLxD3n020574@z...>
  • Organization: Zenucom Pty Ltd
  • References: <200509152159.j8FLxD3n020574@z...>
  • User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)

flexible binary formats
absolutely. although an integer is supposed to be able to hold the 
address space, but the crazy intel addressing modes broke all that.

that's what rpc's and anf were all about.

for me xml is probably the ultimate anf (application neutral format) 
with the added advantages 1) unicode (or utf-n) - i think it was tim 
bray who pointed out the importance of cracking the internationalisation 
nut from the ground up and 2) tagging means that you know what you have 
and if it is what you expect (you even get some limited structural 
checking) and 3) all of this is independent of the generator/consumer. 
you can generate in C, i can consume in tcl, or java, or....

the no binary is important here. if you want a binary format then asn1 
is the candidate (similar advantages, but not readable).

rick

Michael Kay wrote:

>My copy of the C language specification says that the language doesn't
>define how many bits there are in a character or integer, what character
>code is used, what order the fields in a struct are stored in, whether
>integers are twos complement, or in fact anything else about the physical
>representation of data. So how can this possibly define an interchange
>format that anyone can rely on?
>
>Michael Kay
>http://www.saxonica.com/
>
>  
>
>>-----Original Message-----
>>From: Anil Philip [mailto:goodnewsforyou@y...] 
>>Sent: 15 September 2005 21:11
>>To: Michael Kay; 'xml dev'
>>Subject: RE:  basic qs - how is xml more flexible 
>>for exchanging data?
>>
>>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>
>
>
>!DSPAM:4329eeb440892484733571!
>
>  
>
begin:vcard
fn:Rick  Marshall
n:Marshall;Rick 
email;internet:rjm@z...
tel;cell:+61 411 287 530
x-mozilla-html:TRUE
version:2.1
end:vcard


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.