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

Re: Semantics was Re: XQuery types ...


xquery file extention
Jonathan Robie wrote:
>
> The Formal Semantics is all about structural subsumption, not about
> validation.

In general there are two things about type or classification systems:

1) a way to determine whether individuals (or objects) have a particular
type. In the so-called "static type" usages, an individual (or object) is
explicitly declared to be a member of a particular class i.e. have a given
type. In dynamic or run type usages, the system inspects the individual and
classifies it. This is akin to validation, but as you say is not all that
classifications are.

2) classes may be declared to be subclasses of other classes. Class
hierarchies may be built using logical combinators which generally implement
what XML Schema calls "derivation by restriction" and "derivation by
extension". The logical combinators include "intersection" by which a
subclass is defined to be the intersection of a set of super classes
(derivation by restriction), "union" where a subclass is defined to be the
union of a set of super classes (derivation by extention) etc.

> In general, it tries to define structural subsumption so that
> when it looks at a query expression and a schema, the conclusions it draws
> would be compatible with the conclusions a schema processor would make
when
> validating instances from the universe of documents the schema defines.

Having such a class hierarchy as described above does indeed allow one to
draw logical inferences about the classes and class membership. Such
inferences are indeed useful. Often one might not need to attempt to
classify or validate a set of individuals (or objects) against a class
definition, when such inferences can be drawn -- this is akin to query
optimization.

Jonathan


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.