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

RE: Binary XML

  • From: Dylan Walsh <Dylan.Walsh@K...>
  • To: PavitraA@r..., xml-dev@l...
  • Date: Thu, 21 Jun 2001 18:12:59 +0100

erick de la fuente
> From:	PavitraA@r... [SMTP:PavitraA@r...]
> Sent:	Thursday, June 21, 2001 12:52 PM
> 
The following is based on my understanding of the semantics of these
phrases as used in the XML community

>I) What Binary XML really mean??
>         1)Is it compiled form of XML into Byte code OR
>         2)Is it compressing XML using some algorithms OR
>         3)Is it something else??

Fundamentally, non-text, non-humanreadable. However the point of it is
to reduce the size of the XML. The WAP standard uses a compressed
version of WML, where the tags are replaced by codes, because the
possible tags are finite and known from the DTD. IIRC it does not
compress the text in elements or attributes. A general compression
system e.g. ZIP works well and compresses the tags and the text.
Conceivably, parsers in the future could read directly from normal or
binary XML, if there were a standard for binary XML.

>II)What is the difference between Binary XML and XML Serialization??

XML serialization is turning, for example, a DOM document (an object
based representation of XML) into into the sequence of characters we all
know as XML syntax. If you like, it is the opposite of parsing. In Java
you could turn the DOM into binary format using Java serialization, as
you can with any object, but that is not the same thing. XML
Serialization is creating XML syntax.

>I am quite confused on this topic why at all it is required ?

XML Serialization is necessary as without it, DOM could not be used to
create XML files. Binary XML is useful where bandwidth/storage is at
premium such in the WAP example.

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.