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

Re: A multi-step approach on defining object-oriented

  • To: wperry@f... (W. E. Perry)
  • Subject: Re: A multi-step approach on defining object-oriented
  • From: John Cowan <jcowan@r...>
  • Date: Thu, 22 Aug 2002 11:33:42 -0400 (EDT)
  • Cc: xml-dev@l... (XML DEV)
  • In-reply-to: <3D64FAE5.514EB244@f...> from "W. E. Perry" at Aug 22, 2002 10:53:25 AM

ululation
W. E. Perry scripsit:

> Indeed they do, but in my opinion they should be basing those decisions on the data
> instances which they have actually got rather than upon some authority which purports to
> govern such instances. (This gulf between revelatio and auctoritas is certainly nothing
> new).

The trouble with "the data instances which they have actually got" is that
they may represent an undersample of the actual data to be received during
the life of the application.  An application driven by input data is in
the position of a judge attempting to interpret a statute: any available
information on authorial intent is valuable.

Fundamentally, validation serves one of two purposes: self-consistency and
suitability.  Classic DTDs were designed to provide self-consistency (an
instance respects the constraints it says it respects) and have nothing to
do with suitability.  However, it is also possible to use schemas
(including DTDs) as suitability testers, and this is the explicit use model
of RELAX NG.  Here a receiver expresses declaratively a set of constraints
that would otherwise have to be programmed into its code that restrict the
sort of input it is willing to deal with.  Depending on the overall system,
rejected input can be sent down a channel or just dropped.

This leads to the notion of a Linda system in which one accepts XML documents
from the Lindasphere based on a RELAX NG schema: documents which match the
application-provided schema are read (and typically, but not necessarily),
removed; other documents persist until some other reader accepts them.

-- 
John Cowan                                jcowan@r...
At times of peril or dubitation,          http://www.ccil.org/~cowan
Perform swift circular ambulation,        http://www.reutershealth.com
With loud and high-pitched ululation.

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.