Various binary formats have been proposed as compact representations for XML (Extensible Markup Language).

Binary representation

edit

Using a binary XML format generally reduces the verbosity of XML documents thereby also reducing the cost of parsing,[1] but hinders the use of ordinary text editors and third-party tools to view and edit the document. There are several competing formats, but none has yet emerged as a de facto standard, although the World Wide Web Consortium adopted Efficient XML Interchange (EXI) as a Recommendation on 10 March 2011.[2]

Binary XML is typically used in applications where the performance of standard XML is insufficient, but the ability to convert the document to and from a form (XML) which is easily viewed and edited is valued. 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 the International Telecommunication Union (ITU) published the Fast Infoset standard in 2007 and 2005, respectively. 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 many European Telecommunications Standards Institute (ETSI) standards for digital TV and mobile TV. The Open Geospatial Consortium provides a Binary XML Encoding Specification (currently a Best Practice Paper) optimized for geo-related data (GML) and also a benchmark to compare performance of Fast InfoSet, EXI, BXML and deflate to encode/decode AIXM.[3]

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 reduced file size, without the advantage of decreased parsing time or random access. ASN.1/PER forms the basis of Fast 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.[4]

Binary XML efforts

edit

Projects and file formats using binary XML include:

Other projects that have functionality related to (or competing with) binary representations include:

See also

edit

References

edit
  1. ^ The performance woe of binary XML http://webservices.sys-con.com/read/250512.htm Archived 2008-05-20 at the Wayback Machine
  2. ^ John Schneider, Takuki Kamiya, eds., "Efficient XML Interchange (EXI) Format 1.0", W3C Recommendation 10 March 2011 [1]
  3. ^ AIXM 5.1 compression benchmarking : how EXI, FI, BXML and deflate compete when dealing with geo-related data ?
  4. ^ "Index XML documents with VTD-XML". Archived from the original on 2008-07-04. Retrieved 2007-11-28.
  5. ^ "Where is Android binary XML format documented?". Reverse Engineering Stack Exchange.
  6. ^ "AXML/ARSC: The Rosetta Stone for Android's Binary XML". GitHub.

📚 Artikel Terkait di Wikipedia

WBXML

WAP Binary XML (WBXML) is a binary representation of XML. It was developed by the WAP Forum and since 2002 is maintained by the Open Mobile Alliance as

Wireless Markup Language

Language (WML), based on XML, is an obsolete markup language intended for devices that implement the Wireless Application Protocol (WAP) specification, such

List of HTTP header fields

for an AT&T Samsung Galaxy S2. For example: x-wap-profile: http://wap.samsungmobile.com/uaprof/SGH-I777.xml Implemented as a misunderstanding of the HTTP

Compiled Wireless Markup Language

GPRS/2G. WMLC is apparently synonymous with Wireless Application Protocol Binary XML (WBXML). WMLC is most efficient for pages that contain frequently repeated

List of Apache Software Foundation projects

and cron jobs AxKit: XML Application Server for Apache. It provided on-the-fly conversion from XML to any format, such as HTML, WAP or text using either

MMS Architecture

MM1 interface is based on the WAP protocol. It includes the PAP notifications that are transformed to SMS's by the WAP gateway for the notifications.

List of computing and IT abbreviations

ActiveSync EBCDIC—Extended Binary Coded Decimal Interchange Code EBML—Extensible Binary Meta Language EBS—Elastic Block Store ebXML—Electronic Business using

OBject EXchange

termed IrOBEX) is a communication protocol that facilitates the exchange of binary objects between devices. It is maintained by the Infrared Data Association