[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Some random noise on rational type systems for XML


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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.