|
From: Plamen N. <pla...@re...> - 2010-01-12 19:28:47
|
Hi all, I'd like to commit a small change to the serialisation code in QuantLibAddin. It will remove the dependency of the serialised objects to the order in which the ValueObjects are registered in the code so that additions of new classes or removal of old ones will not break the compatibility of existing xml archives. How this works is very simple - a class id gets generated only when this class appears in the archive for the very first time. This ensures that id's are local to the archive and are only dependant on the classes serialised in this archive. The down side is that this will break all existing exports - however those exports are anyway not very stable because chances are that they get broken with any new class being added in QLA. Please let me know what you guys think... cheers, Plamen ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |