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

RE: Is it time for the binary XML permathread to start up aga

  • From: Alessandro Triglia <sandro@m...>
  • To: costello@m..., xml-dev@l...
  • Date: Fri, 20 Jul 2007 16:24:47 +0200

RE:  Is it time for the binary XML permathread to start up  aga
Hi Roger,

Here are a few points.

- Zip, Fast Infoset, or EXI can be used with any XML document

- Zip reduces the size of the document on the wire but usually increases processing time

- ASN.1 requires that the two endpoints share a schema that describes your XML document; the schema can be either an original ASN.1 schema (one originally written in ASN.1 notation), or one that has been automatically derived from an XSD schema through the standard X.694 mapping; in addition, ASN.1 requires that your XML document be completely valid (it doesn’t tolerate deviations from the schema); if your application uses schemas and does not need to support anything other than valid XML documents, then ASN.1 BER/PER can be a good choice because it's very fast and compact

- Fast Infoset, which does not depend on schemas, usually achieves good compactness and acceleration effortlessly, but its performance can be improved (especially for short documents) if the sender of the XML document has some (a-priori) knowledge about the document (e.g., partial or total conformance to a certain schema, or even just some statistical properties of the XML document, for example a list of expected frequent element names or attribute values or namespace URIs);  in most cases, performance improvements can be achieved without any requirement that the receiver know anything about the document before receiving it, but Fast Infoset also supports the use of an external vocabulary (to be shared among the participants) in order to further improve performance

- I believe some of the things I wrote above about Fast Infoset apply to EXI as well

Alessandro



Costello, Roger L. wrote:
> When sending an XML document across the wire, here are the main
> choices:
>
> 1. Send the XML document as is, as ASCII text, without any compression 
> or other alterations.
>
> 2. Compress the XML document using a compression tool such as WinZip 
> or Bzip, and then send the compressed document.
>
> 3. Encode the XML document as an ASN.1 file, and then send the ASN.1 
> file.
>
> 4. Encode the XML document a Fast Infoset file, and then send the FI 
> file.
>
> 5. Encode the XML as an Efficient XML Interchange file, and then send 
> the EXI file.
>
> Are there other choices?  Have I phrased each choice properly?
>
> Under what circumstances would a choice be selected? 
>
> What are the advantages and disadvantages of each choice?
>
> /Roger
>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.