Hi, I'll probably be posting a lot on here in the next few days, hopefully it
won't get annoying. (BTW, Indigo looks great from playing around a bit; great
job MS!)
So, my first question is what's going on with the default serialization of
certain arrays into the pretty un-standard
http://schemas.microsoft.com/2003/10/Serialization/Arrays namespace?
For example, both List<string> and string[] serialize into:
<xs:element minOccurs="0" name="CSSFileURLs" nillable="true"
type="q4:ArrayOfstring"
xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
My custom classes fared better by being turned into the expected <sequence>
of <element>'s.
Is there any way to avoid this behavior? Can I override the serializer to
use the serializer for an array of type of object (since when object is a
user-defined type, it creates the proper array construct)?
Thanks!
Kevin
|