Questions tagged [exi]

EXI (Efficient XML Interchange) is a W3C recommendation for more compact XML data.

EXI (Efficient XML Interchange) is a W3C recommandation for more compact XML data. Its purpose is to spare memory and processing power for example for devices with little memory, like mobile phones.

To accomplish this, EXI uses a binary format instead of the text format used in XML. A XML document is transformed using entropic compression, which means the tags and attribute names more likely to appear often in the document will be replaced by shorter binary sequences than those less likely to appear. Probabilities are calculated using the XML schema the document can be validated against.

25 questions
13
votes
5 answers

EXI (efficient XML interchange) coming... Are XML APIs ready?

W3's EXI (efficient XML interchange) is going to be standardized. It claims to be "the last binary standard". It is a standard to store XML data optimized for processing and storage, is bundled with XML schema (making the data strongly typed and…
ivan_ivanovich_ivanoff
  • 19,113
  • 27
  • 81
  • 100
12
votes
5 answers

.NET Implementation of Efficient XML

I am exporting large databases into xml format. This XML data needs to be compressed into the smallest possible format. I have heard alot about Efficient XML (EXI) and was wondering if there was a .NET implementation so that it can be called from…
user559142
  • 12,279
  • 49
  • 116
  • 179
6
votes
5 answers

java sample for encoding/decoding EXI?

I'm looking for a Java sample program for encoding/decoding EXI (Efficient XML Interchange) streams, using either EXIficient or OpenEXI. Could someone help? I can't seem to find a sample app. edit: Alternatively, if someone could point me towards…
Jason S
  • 184,598
  • 164
  • 608
  • 970
2
votes
3 answers

advice on choosing different binary xml tools

My requirement is to compress xml file into a binary format, transmit it and decompress it (lightening fast) before i start parsing it. There are quite a few binary xml protocols and tools available. I found EXI (efficient xml interchange) better as…
Nadeem
  • 75
  • 2
  • 11
2
votes
1 answer

Intercept SOAP response in SOAP UI

A webservice returns Base64 encoded string is actually an EXI encoded XML.…
The g
  • 43
  • 5
2
votes
0 answers

EXI decoder using OpenEXI in C#/.NET

I cannot find out how to create an EXI decoder using C#/.NET which accepts a MemoryStream containing EXI valid code and simply outputs another MemoryStream containing XML code. I will parse XML code later with custom methods; I'm using EXI only to…
cxor
  • 21
  • 2
1
vote
1 answer

Convert EXI binary data to XML/JSON and viceversa

TL;DR What is the best way to use exificient-grammar to generate a GRS file from a XSD, that can be used with exificient-for-javascript? -- I am developing a TCP server with Nodejs. The clients send data in EXI format. I have the XSD schemas and I…
jfreek
  • 21
  • 1
1
vote
2 answers

Missing NameSpace Information In XML file using EXIficient

I am using EXIficient to convert XML data to EXI and back to XML. Here, i use their EXIficientDemo class. Sample Code: EXIficientDemo sample = new EXIficientDemo(); sample.parseAndProofFileLocations("FilePath"); sample.codeSchemaLess(); Firstly it…
Animesh Kumar Paul
  • 2,241
  • 4
  • 26
  • 37
1
vote
1 answer

How to decode EXI file (Efficient XML AgileDelta) without the Tag

I tried to encode nd decode HTML file with Efficient XML. How do I prevent from the decoder to add the tag in the begining of the result file ? Here is the code i am using: EFXFactory factory = EFXFactory.newInstance(); …
Erez Sayag
  • 23
  • 4
1
vote
1 answer

write to EXI format xml on ipad

I have a requirement to read and write xml files in w3c format on an ipad app. In my previous app I read basic xml files using GDataXML and that worked exactly as I needed. Can I use the same GDataXML to read and write xml files in w3c format…
hamza h
  • 355
  • 1
  • 4
  • 12
1
vote
1 answer

Encode XML string to EXI and send it through a websocket

First of all I am using a client-server architecture, android for the client and node.js for the server, they are connected through Socket.io library, so, they are using websockets. The doubt that I have is that I am generating a XML string with…
Javi
  • 139
  • 1
  • 2
  • 12
1
vote
1 answer

Parsing EXI using C++

I am in need of something for use with C++ which will parse EXI formatted messages. I am not picky in regards to the form of the solution. This could be a Xerces-like library, a rapidxml-like set of headers, or even a offline "compiler" which takes…
cottonke
  • 131
  • 10
1
vote
1 answer

Encoding problems while extracting EXI-compressed XML

The code below is an attempt to simplify the setup required to perform EXI compression and decompression using EXIficient class ExiCompressionUtils { static Transformer transformer = TransformerFactory.newInstance().newTransformer() static…
Jonathan Schneider
  • 26,852
  • 13
  • 75
  • 99
0
votes
1 answer

EXIficient implementation in Python

I am trying to use EXI in order to encode an XML Message with Python. I've already seen that there is a Java, javascript and c/c++ implementation of EXI but I can't find a Python one. The only one i saw was the…
0
votes
0 answers

Are there EXI processors that serialize the in-memory infoset to a file on the computer?

Here's my understanding of how XML Schema validation occurs with EXI: An EXI processor converts an EXI-encoded XML instance document to an in-memory infoset. The in-memory infoset is then validated against the XML Schema. Do I understand…
Roger Costello
  • 3,007
  • 1
  • 22
  • 43
1
2