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

Re: limits of the generic


Re:  limits of the generic
Jonathan Robie scripsit:

> > 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.

There need be no agreement between recipient and creator.  The creator may
simply announce that his documents conform to a certain schema.  At best,
it is the creator who is bound thereby: the recipient does not have to
do anything in particular with a given document whether valid or not.

The case is otherwise, of course, if the recipient is a server: servers have
their own contracts about what they will do with incoming documents.  But if
the recipient is basically a listener, then he is not bound.

> 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.

AFAIU he wants to keep the freedom to manipulate incoming data at the syntax
level, and not be bound by a "universal" data-binding engine that disappears
the XML in favor of some specific instantiation of it.

I think his concerns are overblown, but not unreasonable in principle.

-- 
Schlingt dreifach einen Kreis vom dies! || John Cowan <jcowan@r...>
Schliesst euer Aug vor heiliger Schau,  || http://www.reutershealth.com
Denn er genoss vom Honig-Tau,           || http://www.ccil.org/~cowan
Und trank die Milch vom Paradies.            -- Coleridge (tr. Politzer)

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.