3 ms·
It's strange to me how dependent Q becomes on its host language. Instead of defining its own types in order to sit between various serializations and host syste
by tel 13y ago
It's strange to me how dependent Q becomes on its host language. Instead of defining its own types in order to sit between various serializations and host systems, Q seems to simply augment the Host with a few extra types.
- bokchoi 13y agoI 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/