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

Re: Microsoft FUD on binary XML...

  • To: Michael Champion <mc@x...>
  • Subject: Re: Microsoft FUD on binary XML...
  • From: Bob Wyman <bob@w...>
  • Date: Wed, 19 Nov 2003 02:12:17 -0500
  • Cc: xml-dev@l...
  • Reply-to: bob@w...

asn.1 and telemetry
Michael Champion wrote:
> So IMHO, interop is quite possible *if* there are a small
> number of widely supported serialization standards 
> and XML text is mandated as  the fallback in  content 
> negotiation protocols.
    Yes. It is important to point out that for any new 
protocols, XML should be considered to be the default 
encoding. The only exceptions, and there are always 
exceptions, would be applications like sending telemetry from 
Mars where every bit counts... (But, even in such cases, it 
would still be useful to have the XML support if only to 
assist in debugging during development...)

> Others (such as myself) are open to maybe 2-3 more for
> specialized environments where, for example, bandwidth must
> be optimized while processing minimized (wireless), parsing
> performance is critical but bandwidth is cheap (web
> services infrastructure), and maybe one more (perhaps
> ASN.1) for situations where you want to exchange
> objects/PSVI/XQuery data models and you can assume that
> both sides agree on the schema.
    Can you say more about why it might make sense to define 
new, non-ASN.1 binary encodings as you seem to refer to above?
ASN.1 PER is good at producing compact encodings and can be 
parsed very rapidly. Thus, it would seem to satisfy the needs 
you specify -- except that it does require that the schema be 
known by both sides. I'm not sure how you would get the 
tightest encoding and fastest parsing without relying on 
schema knowledge. Knowledge of the schema allows you to do 
things like remove field names from the bitstream and also 
allows you to optimize the parsing structures.
     I know that there have been a variety of suggestions for 
doing things like removing the need for endtags in XML by 
inserting field-length counts, using *zip functions to do 
compression, or sending data with built in dictionaries of 
strings used more than once... Is this the kind of thing 
you're talking about? Can you name some of that non-ASN.1 
candidates that you think should be seriously considered?

>>Joshua Allen wrote:
>>... some of the problems with these binary formats is that
>> they tended to evolve, and the new information embedded
>> in the binary stream is not always added in a way
>> that is most amenable to efficient parsing. ...
>Ahh, that has the ring of truth!  Thanks.
     The ASN.1 defined encodings have been in use for a very 
long time and are, I believe, unlikely to change any time 
soon... I believe you can consider them to be stable.

    bob wyman

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.