GIS/SI maps – backward compatibility
If you work as a map developer, and your clients use different versions of GIS/SI (and different Sterling Integrator Map Editors), one day you might want to use a map from the higher version of GIS/SI in lower version. There is no problem for the opposite situation, but if you try to open a map created in Sterling Integrator Map Editor 6.4 in Sterling Integrator Map Editor 5.3 (for example), you’ll see something like this (“This map was saved by a newer version. You must upgrade in order to open this map.”):Fortunately, there is a way to “downgrade” such maps. First of all, save your map as “{map name}.mxl” instead of “{map name}.map”. If you try to open this map in your “lower” Map Editor, you’ll see something like this (“Element content is invalid according to the DTD/Schema. Expecting: {http://www.stercomm.com/SI/Map}UseConfigurableTrimming”):
Ok, now try the following – create two the same empty maps in both Map Editors and save them as *.mxl. If your map to downgrade is X12 to IDoc, these empty maps should be the same. Maps in MXL format are just XML files, so you can open them in your text editor.
Open your empty maps in your “comparer/merger” (software to compare/merge text files. You have one, right? :))
You’ll see the differences between the maps. In my case, in 6.3 there are some additional fields:
<ErrorForNotUsed>0</ErrorForNotUsed> <SWIFTValidation></SWIFTValidation> <NotUsed>no</NotUsed>and in my v5.3 map it’s <SerializationVersion>823</SerializationVersion> and in the 6.4 it’s <SerializationVersion>25088</SerializationVersion>
So, open your map to downgrade in the text editor and… remove these extra segments from it. And change the SerializationVersion to lower one (<SerializationVersion>823</SerializationVersion> in my case). That’s all! Now save it and try to open in your “lower” Map Editor – it should work.