Re: [xml-dev] Lessons learned from the XML experiment
On Tue, Nov 12, 2013 at 10:41 PM, Kurt Cagle <[email protected]> wrote:
--
The biggest problem with constraints that I've seen has to do with the fact that data itself, in the real world, has this very annoying tendency to morph over time. That's in great part because programmers do not think in terms of resources that evolve but data structures that represent state that is most useful to them, something that strong typing in particular has reinforced. XML was a radical departure from that model - unlike databases, where type was intrinsic, atomic, and implicit to the implementation, and binary objects, which similarly placed constraints upon type for optimization, XML was extrinsically typed, in an advisory rather than compulsory fashion.
Yeah this is why in XML, and even more broadly in data I advocate (following Rick Jelliffe's lead, of course) validation as annotation rather than as assertion of axioms.
Uche Ogbuji http://uche.ogbuji.net
Founding Partner, Zepheira http://zepheira.com
Founding Partner, Zepheira http://zepheira.com
Author, Ndewo, Colorado http://uche.ogbuji.net/ndewo/
Founding editor, Kin Poetry Journal http://wearekin.org
Editor & Contributor, TNB http://www.thenervousbreakdown.com/author/uogbuji/
http://copia.ogbuji.net http://www.linkedin.com/in/ucheogbuji http://twitter.com/uogbuji
Founding editor, Kin Poetry Journal http://wearekin.org
Editor & Contributor, TNB http://www.thenervousbreakdown.com/author/uogbuji/
http://copia.ogbuji.net http://www.linkedin.com/in/ucheogbuji http://twitter.com/uogbuji