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

Re: Schemas as Promises and Expectations


definite schema
[W. E. Perry
>     3) the expertise of a processing node is expressed in the
transformation of
> what is available to consume into a particular form specific to the
process
> which produces it (rather than conditioned on the 'expectations' of the
> 'intended' consumers of that product). In order to achieve such an
application
> of expertise, a processing node must choose what to fetch as input, must
> instantiate that data in a form specific to particular process, regardless
of
> the form in which that data might originally be found, and must express in
the
> particular form of output the value added by the process performed.
>

I agree with you in principle - or maybe I mean that I would __like__ to.
But I do not think that the consuming node can accept just anything and
successfully transform it to a preferred form.  In my experience (more
limited than yours, I know), the incoming documents have to fit within
__some__ bounds.  The easiest case, I suppose, is that there might be extra
elements which can be ignored.

More important, perhaps, is that the incoming documents have a stable
format.  You can adapt to nearly anything as long as it is consistent.

So are you arguing for Don's point, which I take to be the following -

A producer should consistently produce according to some definite schema
(lower-case schema, not just WXS, of course), and a consumer should design
around using some (possibly different) definite schema, converting as
needed.

Is that it (and Don, did I catch your point accurately?) ?

Cheers,

Tom P



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.