On 11/06/2010 11:25 AM, Douglas Campbell wrote:
So our logic for replacement could be something like

upon datafile read request,
try to load with 1.4
if fail, try with 1.2 reader you provided,
get records, save out with 1.4 after update

Should that be doable with what you've provided?

Yes.  Ideally we could make this transparent, but that'd be more work.

For example, we could add a datafile reader interface that both the 1.2 and 1.4 version implement, then have a factory that creates one or the other after reading the file header. Then you'd not need to rewrite files: the Java implementation would be able to read both versions transparently.

At the time we revised the file format it didn't seem that anyone was using it yet, so we didn't worry too much about back-compatibility. Sorry!

Doug

Reply via email to