Re: Some random noise on rational type systems for XML
John Cowan wrote: > Amelia A. Lewis scripsit: > > First principle: the XML ur-type is "string". Everything in XML can be ^^^^^^^^^^^^^^^^^^^^^^^^^^ > > represented as a string (MUST be representable as a string). It can > > therefore be manipulated as a string--truncated, concatenated, > > case-transformed, etc. > > No, I have to disagree here. Every datatype instance can be *represented* > by a string, right enough. That does not mean the instance of that type > *is* a string. But the _XML_ ur-type is string. From the application point of view, you might have dates, integers, IEEE double precision floating point numbers, et cetera, but as far as XML is concerned everything is a string. If we're talking about a rational type system _for XML_, then Amelia's first principle is eminently sensible. In fact, I'd go even further and say it's the _only_ sensible foundation for an XML type system. --Joe English jenglish@f...
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format