Binary XML

From Wikipedia, the free encyclopedia

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 attempts to encode an XML document in a binary data format, rather than plain text. 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, but hinders the use of ordinary text editors to view and edit the document. Other advantages include enabling random access and indexing of XML documents.

The major challenge for binary XML is to create a single, widely adopted standard. The World Wide Web Consortium (W3C) has an XML Binary Working Group, while Sun Microsystems is pushing to have Fast Infoset adopted as an ISO standard. An other standard (ISO/IEC 23001-1), known as BiM, has been standardized by the ISO in 2001. BiM is used by many ETSI standards for Digital TV and Mobile TV.

Alternatives to binary XML include using traditional file compression methods on XML documents (for example gzip); or using an existing standard such as ASN.1. Traditional compression methods, however, offer only the advantage of compression, without the advantages of decreased parsing time and do not enable random access. ASN.1 is being used as the basis of Fast Infoset, which is one binary XML standard.

[edit] Binary XML projects and formats

In other languages