Book a Demo

Author Topic: Base64 output is not stable  (Read 3066 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Base64 output is not stable
« on: December 09, 2009, 03:57:59 pm »
EA uses Base64 encoding in the XMI for (amongst other things) Model Documents. (dt:dt="bin.base64" - in the XML entry).

However, each time you do an export, even if there has been NO change to the entire repository, the encoding changes.

This makes it difficult to use file comparison products to ensure the consistency of output.

I see no reason (not being a Base64 expert) why they should be different.


Steps:
Export a package containing Model Documents.

Save export.

Reexport - changing nothing.

Compare the two outputs - the Base64 encoded data is different.

Can any Base64 experts explain if this phenomenon is inherent in Base64?

Reported,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!