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

RE: Personal reply to Edd Dumbill's XML Hack Article wrt W3C XML Schema

  • From: Gavin Thomas Nicol <gtn@e...>
  • To: XML DEV <xml-dev@l...>
  • Date: Tue, 13 Mar 2001 02:14:10 -0500

how to edd
> In my view, information architectures based on XML
> will be driven by XML schemas (hence the bean example in my last post). A
> given schema tells you how to process a given class of instances, so you
> have to have a single schema for a given instance. This seems emminently
> logical to me, but I'd be curious to hear some justification for the
> opposite view.

I think this is a very domain-specific view. 

At the end of the day, a schema has *no* natural ability to enforce 
processing on an application. An application can *use* schemas to 
help decide how to process an instance, but it is the *application*
that interprets the instance, not the schema. In your domain, 
(Bean serialization) you may state that the schema defines 
interpretation, but that view is limited to the specific application.

A schema is simply a type *projection*, or an *assertion* that may,
or may not be used. You can, and often do project different types
onto a given instance.

A (somehwat?) clear example of this is literate programming: I can
treat the document as something to be printed, or I can interpret
it as a program. For example:

   <add><integer>1</integer><integer>2</integer></add>

How do you interpret this?





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.