Aug. 12th, 2010

billroper: (Default)
I finally solved yesterday's serialization problem. The trick was that I'm doing several things that are really oddball in order to cause the old serialized templates to create new different serialized templates as they are serialized back in. And the schema numbers weren't quite compatible between some of the different derived types that I used to have and am now busily eliminating.

But since I can figure out what the type of data was that was being serialized in the template and whether I was serializing a scalar or an array value by testing a static function I popped into the wrapper class that the templates are serializing, I can pick and choose my schema ranges depending on what the original class was that I was serializing.

So now it works.

Phew.
billroper: (Default)
I finally solved yesterday's serialization problem. The trick was that I'm doing several things that are really oddball in order to cause the old serialized templates to create new different serialized templates as they are serialized back in. And the schema numbers weren't quite compatible between some of the different derived types that I used to have and am now busily eliminating.

But since I can figure out what the type of data was that was being serialized in the template and whether I was serializing a scalar or an array value by testing a static function I popped into the wrapper class that the templates are serializing, I can pick and choose my schema ranges depending on what the original class was that I was serializing.

So now it works.

Phew.

Profile

billroper: (Default)
billroper

May 2025

S M T W T F S
     1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 2728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 28th, 2025 09:16 am
Powered by Dreamwidth Studios