Author Topic: Differnt size of XML/XMI export depending on EA version (9/12)  (Read 3169 times)

Shegit Brahm

  • EA User
  • **
  • Posts: 95
  • Karma: +1/-0
    • View Profile
Hi there,

I realized, that EA 12.1 creates a much bigger model output if I use "export to XMI": from 92 MB .eap it builds 280 MB .xml.
Taking old EA 9.x it produces only 110 MB.

Any idea what the reason might be?
Any effects beside bigger size? (I didn't do any kind of file comparison)

I choose XMi 2.1 in both cases, all checked options are same.

Thanks,
Shegit

qwerty

  • EA Guru
  • *****
  • Posts: 11388
  • Karma: +295/-262
  • I'm no guru at all
    • View Profile
Re: Differnt size of XML/XMI export depending on EA version (9/12)
« Reply #1 on: June 02, 2016, 10:55:35 pm »
Have you looked into the files?

q.

Shegit Brahm

  • EA User
  • **
  • Posts: 95
  • Karma: +1/-0
    • View Profile
Re: Differnt size of XML/XMI export depending on EA version (9/12)
« Reply #2 on: June 03, 2016, 12:38:49 am »
I would if I would have an idea what to look for.
But I don't. Do you?

qwerty

  • EA Guru
  • *****
  • Posts: 11388
  • Karma: +295/-262
  • I'm no guru at all
    • View Profile
Re: Differnt size of XML/XMI export depending on EA version (9/12)
« Reply #3 on: June 03, 2016, 05:27:59 am »
Well, if I see two text files I could probably tell the difference. Sometimes it's obvious like "oh, they added a lot of blanks to format the xmi".

q.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1773
  • Karma: +122/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Differnt size of XML/XMI export depending on EA version (9/12)
« Reply #4 on: June 03, 2016, 05:39:48 pm »
Beyond Compare is a very useful tool, finds differences in most anything.

Note that the EA XML contains a lot of text-encoded binary data for diagrams and some other things, and BC won't be able to help there. But it can tell you if tags have been added, etc.

It's got a very generous evaluation license too, a thirty-day one. Not a month -- thirty days. The first time you use it on any given day it counts one off the total. If you don't use it for a few days, the total does not decrease. So you can use it on and off for months without paying. (Although you should pay, it's cheap and really really good. No affiliation, just experience.)

Another option is to just open the two XML files in Notepad++, collapse the tags with binary blobs and compare the files visually.

/Uffe
My theories are always correct, just apply them to the right reality.

Shegit Brahm

  • EA User
  • **
  • Posts: 95
  • Karma: +1/-0
    • View Profile
Re: Differnt size of XML/XMI export depending on EA version (9/12)
« Reply #5 on: June 03, 2016, 05:58:08 pm »
Thanks Uffe for the hints what (and how) to look for (easily).
If I find anything useful, I will post it here.

I was just surprised about doubling in size.

skiwi

  • EA Practitioner
  • ***
  • Posts: 1903
  • Karma: +41/-81
    • View Profile
Re: Differnt size of XML/XMI export depending on EA version (9/12)
« Reply #6 on: June 03, 2016, 07:59:57 pm »
Beyond Compare is a very useful tool, finds differences in most anything.
I used to use BeyondCompare until I discovered the free WinMerge.
Orthogonality rules
Using EA15.1 (1526) on Windows 10 Enterprise/64 bit. Repositories in SQLServer2014 R2 & Access2003/JET4.0

qwerty

  • EA Guru
  • *****
  • Posts: 11388
  • Karma: +295/-262
  • I'm no guru at all
    • View Profile
Re: Differnt size of XML/XMI export depending on EA version (9/12)
« Reply #7 on: June 03, 2016, 08:20:01 pm »
I just tried with a simple model and there were only marginal differences between both exports.

q.