Menu

#33 unable to decode created exi file

v1.0_(example)
closed
None
5
2015-06-26
2015-06-25
Anonymous
No

Using the EXIficient GUI, with Alignment set to "COMPRESSED" I can create an exi file from the attached XML. However it is unable to decode the created file back into XML, getting an error message about "invalid stored block lengths".

I have tried decoding the generated EXI file using the OpenEXI library and it works there, so I think the generated EXI file is ok, and it is probably a problem with the way EXIficient is decoding it.

1 Attachments

Discussion

  • Anonymous

    Anonymous - 2015-06-25

    In case it matters: I also get errors when I try to decode this file my own java code. I'm using EXIficient 0.9.4. I've run about 50 other files though with no problems.

     
  • Daniel Peintner

    Daniel Peintner - 2015-06-26

    Hi,

    I can confirm the issue in GUI and library.
    It seems to be the case that in some very rare cases the deflate process seems to add additional bytes. The EXIficient decoder did not handle this properly.

    Now both, the GUI and the library (source code) has been updated.

    Note: The idea behind Java Web Start is that the library gets updated out-of-the box. In my case it did not work (or maybe I did not wait enough). Anyhow, launching exificient.sourceforge.net/exificient.jnlp once again noticed the update (You should see "EXIficient (0.9.5-SNAPHSOT)" as title).

    Please let me know whether the fix works for you as well.

    -- Daniel

     
  • Anonymous

    Anonymous - 2015-06-26

    I can confirm the GUI is now working for that file.

    Thank you.

     
  • Daniel Peintner

    Daniel Peintner - 2015-06-26

    Great!

     
  • Daniel Peintner

    Daniel Peintner - 2015-06-26
    • status: open --> closed
    • assigned_to: Daniel Peintner
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB