XML, Type Systems, and Programming Languages

, Feb 21, 2004

Dare Obasanjo writes about the impedance mismatch between XML Schema and the CLR type system (where you could easily substitute the CLR with Java’s or any other statically typed OO language’s type system). Interestingly enough, Sean McGrath has a post about an impedance mismatch, albeit on a higher level. The more I think about it, the more I believe that the idea of using XML as a simple object serialization format for statically typed languages is fundamentally flawed, at least in the context of loosely-coupled, service oriented system architectures.