[Mono-list] XmlSerializer.cs

David B. Bitton david@codenoevil.com
Wed, 08 Jan 2003 14:50:20 -0500


I'm currently doing development work inside XmlSerializer.cs.  My 
original intentions were to develop Deserialize(), but my example I was 
using an Array so I stumbled on the fact that SerializeArray() wasn't 
implemented yet.

As you can imagine, this opened up a can of worms.  I need someone to 
help me gain a much better understanding of the typeTable.  Arrays, as 
you know, have two extra Attributes associated with them, 
XmlArrayAttribute and XmlArrayItemAttribute and they somehow disappear 
from the member when it gets to the SerializeArray() method.

I notice that more generic XmlAttributes are stripped from the members 
when they are added to the typeTable.  There's a FillArrayType() method, 
but there is no intuitive place to cache these additional values.  I do 
not want to start create more and more objects for restoring information 
that we already have.

Would whome ever spent the most time on this help me out with this?

-- 
David B. Bitton
david@codenoevil.com
www.codenoevil.com

Code Made Fresh Daily™