Gonzalo Paniagua Javier
gonzalo at ximian.com
Wed Apr 16 17:32:07 EDT 2003
El mié, 16 de 04 de 2003 a las 20:26, Jean-Marc André escribió:
> thanks for your response.
> I'm pretty sure that the MS SoapFormatter
> (System.Runtime.Serialization.Formatters.Soap.SoapFormatter) is not only
> formatting the public fields and properties but also the private ones.
> As an exemple, here is how the MS soap formatter deals with the
> System.Collections.Queue class:
"During XML serialization, only the public properties and fields of an
object are serialized. Also, type fidelity is not always preserved
during XML serialization. This means that if, for instance, you have a
Book object that exists in the Library namespace, there is no guarantee
that it will be deserialized into an object of the same type. However,
this means that objects serialized using the XML serialization in the
.NET Framework can be shipped from one machine to the other without
requiring that the original type be present on the target machine or
that the XML is even processed using the .NET Framework."
(second paragraph below "Overview of XML Serialization in the .NET
More information about the Mono-devel-list