I have been playing around with the .Net XML Serialization over the past couple of days. I thought it would be a good idea to create an object based roughly around the OPML 2.0 DRAFT spec. With the intent of being able to serialize and deserialize OPML files with ease.
I had some successes with Serializing the OPML Object. I had developed the OPML Object model with constraints in which are defined in the spec, so the OPML file was correctly formed when it was serialized.
I had problems with the de-serializing. I could not get the XML Deserializer to enforce some of the constraints that I had placed on public propertties, so it was infact possible to load an incorrectly constructed OPML file.
I will post the code later. But I will keep playing with the code.
| Technorati Tags |
| xml serialization [feed], constraints [feed], ie7 [feed], draft spec [feed], object model [feed], opml [feed], serialization [feed], deserialization [feed], .net [feed], c# [feed] |
| Related Wikipedia Documents |
| Serialization, XML, Constraint, RSS (file format), Object-oriented programming, OPML, OML, Serialization, .NET Framework, C Sharp |
| Related Amazon Books |
| Professional AJAX: View From Amazon UK/View From Amazon USA Service-Oriented Architecture: Concepts, Technology, and Design: View From Amazon UK/View From Amazon USA XML in a Nutshell: View From Amazon UK/View From Amazon USA Model Driven Architecture: Applying MDA to Enterprise Computing: View From Amazon UK/View From Amazon USA Model Driven Architecture with Executable UML: View From Amazon UK/View From Amazon USA Visual Basic.NET Serialization Handbook: View From Amazon UK/View From Amazon USA Professional ASP.NET 2.0: View From Amazon UK/View From Amazon USA CLR Via C#: Applied .NET Framework 2.0 Programming: View From Amazon UK/View From Amazon USA |
| Related Images From Flickr |
![]() ![]() ![]() ![]() ![]() |





