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

Re: Microsoft FUD on binary XML...


Re:  Microsoft FUD on binary XML...
Bob Wyman wrote:
Michael Rys wrote:
  
Binary XML in my opinion flies in the face of loosely-coupled 
interoperability. 
    
	Pure FUD. 
...
	There is nothing about binary encodings that interferes with
loose coupling of systems or interoperability as long as those
encodings are clearly defined and consistently implemented by both
sides of a connection. The exact same conditions apply to the use of
XML. XML is only useful in a network where both ends of a link
understand what XML is and how to work with it. The situation is no
different for binary stuff.
  
As usual, I find myself on the MicroSoft side, to a certain extent.

I guess it may come down to what you consider "loosely coupling" to be. I tend to
see loose-coupling to be, at heart, the fruits of

* data interchange formats which allow generic manipulation of the data objects
without requiring detailed metadata,
* REST-like architectures, where state is kept with the data as much as possible, and
* where the data formats and APIs are public and extensible.

So while ASN.1 and XML may be belong in similar positions on an OSI stack,
requiring a schema for processing (whether in ASN.1 or PSVI) results in
a more tightly-coupled system than is required for simple generic processing
of documents. E.g. I can take an XML document and extract the <title> without
having to know the exact schema.

On the other hand, having schemas does allow a different kind of generic
processing based on standard types rather than element names and tokens,
which is less closely-coupled than, say, sending type information in a proprietary
format.

So binary is not necessarily any worse for tight-coupling than PSVI
processing. It just depends on the level of generic operations that
you want to do. For example, using default values in schemas also
means that you cannot read the simple XML of the document
and know what the information in the document is.

Cheers
Rick Jelliffe

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.