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

RE: RE: On Schemas, Namespaces and Syntax vs. Semantics (long


distinguish between syntax and semantics

-----Original Message-----
From: Dare Obasanjo [mailto:dareo@m...]
Sent: Sunday, July 28, 2002 6:57 AM
To: Clemens Vasters; xml-dev@l...
Subject:  RE: On Schemas, Namespaces and Syntax vs. Semantics (long
but worth it) :)

> 2. XML Schema does not know versions, they know derivations.
>If you want to extend a Schema, create a new one, import or reference the
old one and restrict or extend the existing types.

Actually you can also use xs:redefine which allows one to extend the types
defined in a schema in a pervasive manner without resorting to changing the
targetNamespace of the schema.

Also note that substitution groups create yet another means of derivation;
based on extension/restriction, but which can affect structures not
explicitly extended.

On the topic of semantics. I must wade in, even though I fear that the
water's a bit too deep: we are indeed talking about data interchange and
about correctly identifying the version of data structure and type. Schema
can blur the line between syntax and semantics, simply due to its ability to
define and enforce more sophisticated type definitions. But we might be able
to agree that even richly defined and enforced structures and types are
still in the realm of syntax (that would have to be a matter of agreement,
since there is not absolute "truth" in these distinctions). 
Given that agreement, there may still be the need to indicate, somewhere in
the interchanged data, the two parties' agreed-upon semantics for the
interchange. What I'm gleaning from this debate is that we can and should
distinguish between a schema (deep syntax) version and some other version
indicator that captures some snapshot of the versions of semantic
interpretation that the parties will employ. At very least, this will help
in situations where the schema (and thus the syntax) may be identical yet
the intended semantic interpretation different.
Your thoughts?
Mark

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.