Once a programmer decides to implement IXmlSerializable
, what are the rules and best practices for implementing it? I\'ve heard that GetSchema()
sh
I wrote one article on the subject with samples as the MSDN documentation is by now quite unclear and the examples you can find on the web are most of the time incorrectly implemented.
Pitfalls are handling of locales and empty elements beside what Marc Gravell already mentioned.
http://www.codeproject.com/KB/XML/ImplementIXmlSerializable.aspx