Questions tagged [exificient]

EXIficient is a Java library for for reading and writing EXI files.

Written by Siemens, Exificient is a Java library for for reading and writing EXI (Efficient Xml Interchange) files which are binary representations of XML. Exificient supports EXI which are informed by their schema enabling even smaller file sizes.

9 questions
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
1
vote
2 answers

Android get Exif information issue

In order to get Exif information of image,I wrote some codes like below: ExifInterface exif = new ExifInterface(path); String aaa= (exif.getAttribute(ExifInterface.TAG_DATETIME)); I also add read,write permission in…
vaiofav
  • 21
  • 2
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

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
0 answers

Java EXIficient issue using schema-informed grammar for JAR-based XSD

Have been using JAXB and EXIficient library to marshall objects to XML then compress the XML to EXI. Able to send the EXI over the wire and recover the XML. The schemas and binding files reside under my projects src/main/resources/xsd folder. …
0
votes
1 answer

Exificient exception "schema_reference.4: Failed to read schema document xxx.xsd" with import keyword

I'm trying to create grammars using the exificient-grammars library in Android 15 (c is context) Grammars g = GrammarFactory.newInstance().createGrammars(c.getAssets().open("svg.xsd")); from svg.xsd, which imports two more schemas: xlink.xsd and…
venge
  • 177
  • 1
  • 9
0
votes
1 answer

Using EXI: How to deal with large XML files (~ 20 GB)?

I am currently evaluating EXI to compress large XML files. Large means an XML file with 20 GB (twenty). Both EXI compression codecs and non-EXI compression codecs (gzip/lzma ) are integrated in a Scala application running on a Java virtual…
Beryllium
  • 12,808
  • 10
  • 56
  • 86
0
votes
1 answer

Using EXI: How to preserve comments?

I have tried to encode/decode an XML file using exificient-gui, but the comments contained in the original XML file are not preserved. I have used these settings: The resulting XML file (after encode/decode) does not contain the XML comments any…
Beryllium
  • 12,808
  • 10
  • 56
  • 86
0
votes
1 answer

How create an EXI file out of an XML and several XSD files?

I am using EXIficient to convert XML data to EXI. It works great for an XML and an XSD pair, but does not works when I try to use a XSD composed of 2 others XSDs (
Jean
  • 1,707
  • 3
  • 24
  • 43