- Binary XML
: "For information on the generalized binary file format, see
Extensible Binary Meta Language ."Binary XML, or Binary Extensible Markup Language, refers to any specification which defines the compact representation of XML in a binary format. While there are several competing formats, none has been widely adopted by a
standards organization or accepted as a "de facto " standard. Using a binary XML format generally reduces the verbosity of XML documents and cost of parsing [The performance woe of binary XML http://webservices.sys-con.com/read/250512.htm] , but hinders the use of ordinary text editors to view and edit the document. Other advantages may include enabling random access and indexing of XML documents.The major challenge for binary XML is to create a single, widely adopted standard. The
International Organization for Standardization (ISO) and theInternational Telecommunications Union (ITU) published theFast Infoset standard in 2007 and 2005, respectively. TheWorld Wide Web Consortium (W3C) has produced the first draft of the EXI format specification. Another standard (ISO/IEC 23001-1), known as Binary MPEG format for XML (BiM ), has been standardized by the ISO in 2001.BiM is used by manyETSI standards for Digital TV and Mobile TV. TheOpen Geospatial Consortium also provides a Binary XML Encoding Specification (currently a Best Practice Paper) optimized for geo-related data (GML).Alternatives to binary XML include using traditional file compression methods on XML documents (for example
gzip ); or using an existing standard such asASN.1 . Traditional compression methods, however, offer only the advantage of compression, without the advantage of decreased parsing time or random access.ASN.1 is being used as the basis ofFast Infoset , which is one binary XML standard. There are also hybrid approaches (e.g.,VTD-XML ) that attach a small index file to an XML document to eliminate the overhead of parsing [ [http://xml.sys-con.com/read/453082.htm Index XML documents with VTD-XML] ] .Binary XML projects and formats
*
Fast Infoset , a standard published by ISO/IEC and ITU-T
*Efficient XML from AgileDelta, Inc., selected as the basis for the W3C Standard for Binary XML (EXI) [http://www.agiledelta.com/efficientxml.html]
*Extensible Binary Meta Language (EBML) fromMatroska
*Fast Infoset Project , from Sun Microsystems [https://fi.dev.java.net/]
*Binary Characterization Working Group , at W3C [http://www.w3.org/XML/Binary/]
*CBXML , Compact Binary XML, fromIBM
*BXML-CWXML , fromCubeWerx
*Wireless Binary XML (WBXML )
* [http://www.w3.org/TR/xbc-characterization/ Binary XML characterization]
*BXML Encoding Specification [http://portal.opengeospatial.org/files/?artifact_id=13636] , a Best Practice Paper [http://www.opengeospatial.org/standards/bp] from theOpen Geospatial Consortium [http://www.opengeospatial.org/]
*MC-NBFX : .NET Binary Format: XML Data Structure [http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMC-NBFX%5D.pdf]Other projects that have functionality related to (or competing with) binary representations include:
*
VTD-XML from XimpleWare and VTD-XML project [http://www.ximpleware.com/]
*BiM Standard, from the ISO, developed by theMPEG working group
* [http://www.soft-amis.biz/plainxml/index.html PlainXML] project from SourceForge.netReferences
Wikimedia Foundation. 2010.