Efficient XML Interchange
   HOME

TheInfoList



OR:

Efficient XML Interchange (EXI) is a
binary XML Various binary formats have been proposed as compact representations for XML (''Extensible Markup Language''). Using a binary XML format generally reduces the verbosity of XML documents thereby also reducing the cost of parsing, but hinders the use ...
format for exchange of data on a computer network. It was developed by the W3C's Efficient Extensible Interchange Working Group and is one of the most prominent efforts to encode
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. T ...
documents in a binary data format, rather than plain text. Using EXI format reduces the verbosity of XML documents as well as the cost of parsing. Improvements in the performance of writing (generating) content depends on the speed of the medium being written to, the methods and quality of actual implementations. EXI is useful for * a complete range of XML document sizes, from dozens of bytes to terabytes * reducing computational overhead to speed up parsing of compressed documents * increasing endurance of small devices by utilizing efficient decompression


History

The
World Wide Web Consortium The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web. Founded in 1994 and led by Tim Berners-Lee, the consortium is made up of member organizations that maintain full-time staff working to ...
(W3C) formed a working group to standardize on a format in March 2006. EXI was chosen as W3C's Binary XML format after an evaluation of various proposals that included
Fast Infoset Fast Infoset (or FI) is an international standard that specifies a binary encoding format for the XML Information Set (''XML Infoset'') as an alternative to the XML document format. It aims to provide more efficient serialization than the text-b ...
. EXI was adopted as a
W3C recommendation The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web. Founded in 1994 and led by Tim Berners-Lee, the consortium is made up of member organizations that maintain full-time staff working to ...
by the W3C on 10 March 2011. A second edition was published in February 2014. In November 2016, the working group was renamed to "Efficient Extensible Interchange (EXI)" from "Efficient XML Interchange (EXI)" to reflect the broader scope of EXI applicability beyond XML to other data-description languages.


Alternatives

The EXI format is derived from the AgileDelta Efficient XML format. An advantage of EXI over Fast Infoset is that EXI (optionally) uses more constraints from the
XML schema An XML schema is a description of a type of Extensible Markup Language, XML document, typically expressed in terms of constraints on the structure and content of documents of that type, above and beyond the basic syntactical constraints imposed ...
. This can make the EXI data more compact; for example, if the XML schema specifies that elements named 'bar' may only exist within elements named 'foo', EXI can assign a shorter token to the 'bar' element, knowing that it doesn't have to share the same token space as elements that occur elsewhere in the document. The main disadvantage to utilizing such "schema-informed" compression, not only does the document require a schema, but the decoder needs a copy of the same schema that the encoder used.


Uses

A variety of EXI-capable applications are available. A variety of EXI implementations are available that enable the integration of EXI capabilities in other tools. Related: EXI is being adapted for non-XML data formats as well. * EXI4JSON is a specification developed by the same working group to use the same format for
JSON JSON (JavaScript Object Notation, pronounced ; also ) is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays (or other ser ...
documents. EXI was recommended for use in the US Department of Defense
Global Information Grid The Global Information Grid (GIG) is a network of information transmission and processing maintained by the United States Department of Defense. More descriptively, it is a worldwide network of information transmission, of associated processes, a ...
.


Future Work

Multiple experimental initiatives continue to be pursued by the EXI Working Group. * EXI4CSS is exploring how to map Cascading Style Sheets (CSS) to EXI. * EXI for JavaScript appears to be possible if using the initial structured parse tree for source code. * Considering potential composition of XML EXI with XML Encryption and XML Digital Signature.


References

{{Reflist, 1


External links


Efficient XML Interchange Format 1.0 (W3C Recommendation)

Efficient XML Interchange Evaluation (Working Group Note)

EXIficient
- EXIficient is a set of open source implementations of the W3C Efficient XML Interchange (EXI) format specification
EXIP
- Open source C implementation
Nagasena
- Open Source Java/C# implementations of the EXI Format 1.0 provided by FUJITSU.

- commercial implementation of the EXI specification in Java, .NET, C and C++
Exi-Connexion
- Open Source Java implementation of EXI's Working Draft 26 March 2008


OSS EXI Tools for C/C++ and OSS EXI Tools for .NET
- a commercial implementation of EXI (prototype release) by OSS Nokalva XML Markup languages World Wide Web Consortium standards Computer file formats