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

Re: limits of the generic


instantiate an integer
At 09:51 AM 9/30/2002 -0400, W. E. Perry wrote:
>Jonathan Robie wrote:
>
> > I think there *is* broad agreement for integers, floats, doubles, strings,
> > etc. across programming languages and data representations.
>
>Yes, there is, just as there is 'broad agreement for' many other abstractly
>understood datatypes. What there is not agreement on in an XML-centric view is
>any particular instantiation of any of these types.

So far so good - and incidentally not any different from the traditional 
relational world, in which various programming languages or tools could 
instantiate an integer in different ways, with different capacities, or 
cast the integer from the database into anything else the developer could 
imagine.

>That is, in fact, the point
>of text-based markup:  accepting as a first premise that binary instantiations
>(let alone operations predicated upon those instantiations) are utterly local
>and shared only sporadically. Markup must therefore function as its creator's
>preferred identification of particular content. Where there is a contract in
>the form of a DTD or other schema, it is binding only upon the data 
>creator who
>chooses to identify and then to abide by it. From the data recipient's 
>point of
>view, that contract is no more than the data creator's undertaking to present
>particular classes of data in a particular consistent form.

I'm not sure that I understand. If a data creator and a data recipient 
agree to use a given schema, then the data recipient may reject any data 
that does not validate according to the schema, on the grounds that it does 
not conform to the agreement.

>What any data recipient does internally with the data it receives is invisible
>in theory to the data creator, and in my experience most often invisible in
>practice as well. What the data recipient can do with the data it receives is
>utterly dependent upon how that data is instantiated for use. In short, to 
>give
>up to some external datatype specification control of the specific local
>instantiation of data is to give up the possibility of uniquely local
>processing, and thereby unique local value added from that processing. Is that
>a reasonable expectation of a competitive business model which relies upon
>local, often proprietary, expertise?

Obviously, once a program gets ahold of data, it can do whatever it wants 
with that data. Sometimes that may involve casting. I am not sure what 
issues you are concerned about here.

Jonathan


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.