
On Fri, 17 Jun 2005 12:24:55 +0100, Russell Hind wrote
I've been serialising date_time stuff (ptimes to be specific). They weren't initialised when we were loading old files as they didn't containt the information, so when the file is saved in the new format, we get an entry in the XML archive:
...snip detail...
I realise 'not-a-date-time' is invalid, and would be happy if the serialise failed in both directions, but currently it succeeds to write it to an oarchive, but fails to read it from an iarchive.
I don't mind which way we go (i.e. both valid or both invalid) but have oarchive working and iarchive failing isn't overly useful really.
Fixes/tests for this are in CVS now. If it is a not-a-date-time or +- infinity when serialized out, it will have the same value when read back in. Thx for the report. Jeff