[Home] [By Thread] [By Date] [Recent Entries]
what is this xml thing you keep refering to ? will it bring balance to the force ? is it part of the prophecy ? -----Original Message----- From: Dylan Walsh [mailto:Dylan.Walsh@K...] Sent: 21 June 2001 07:13 To: PavitraA@r...; xml-dev@l... Subject: RE: Binary XML > 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. ------------------------------------------------------------------ The xml-dev list is sponsored by XML.org, an initiative of OASIS <http://www.oasis-open.org> The list archives are at http://lists.xml.org/archives/xml-dev/ To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: xml-dev-request@l...
|

Cart



