3 ms·
I agree. This is something that XMLSchema got both right and wrong. The XMLSchema basic datatypes [0] are well defined and for the most part fit nicely in hos
by bokchoi 13y ago
I agree. This is something that XMLSchema got both right and wrong. The XMLSchema basic datatypes [0] are well defined and for the most part fit nicely in host languages. However, they really screwed up with the complex types making it difficult to map onto programming languages for multiple reasons (sequence/choice can't be easily modeled in most programming languages without intermediate types, extension versus restriction, derivation versus substitution groups.) For a good write up of the design philosophy behind XMLBeans, see:
http://davidbau.com/archives/2003/11/14/the_design_of_xmlbeans_part_1.html http://davidbau.com/archives/2003/11/14/the_design_of_xmlbea...
[0] http://www.w3.org/TR/xmlschema-2/ http://www.w3.org/TR/xmlschema-2/