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

Re: Are we losing out because of grammars?

  • From: Uche Ogbuji <uche.ogbuji@f...>
  • To: Marcus Carr <mrc@a...>
  • Date: Sun, 28 Jan 2001 18:48:17 -0700 (MST)

Re: Are we losing out because of grammars?
> > Looks like we are going towards 4 different types of XML "schema"
> > languages to define:
> >
> > - The structure
> > - The datatypes
> > - The rules
> > - The semantic.
>
> This is very interesting - I wonder if we might be heading for another split
> such as the one that saw XSL split into T and FO? The differences are
> becoming more pronounced, and the term "schema language" is starting to lack
> definition as a result.
>
> Eric (or anyone else), how do you differentiate between rules and semantics?

Anyone Else here.

I think the term "rules" needs be clarified.  There are of course what are
sometimes called "business rules", which lie arguably at the semantic
layer.  However, I think Eric means structural rules, which I'd also term
structural constrants.  These do exist at the synctactic level.

I would probably re-state Eric's first and third entries as "structural
patterns" and "structural rules".  The subtle difference is that the
former uses a pattern language and the processing is the binary result of
matching the source against these patterns.  The latter evaluates
generalized expressions against the source, whose results trigger
actions.  One possible set of actions is to accept or reject the source
as valid.

To pick a whimsical analogy, structural patterns are like AI by machine
vision, where the bacterium is identified from the microscope image.
Structural rules are like AI by expert system (Mycin?), which determines
the disease by applying a series of rules, some of which have the action
of narrowing the diagnosis.

It looks as if my version of Eric's suspect line-up is as follows:

 - Structural patterns - DTD, TREX, RELAX, XSchema content model
 - Datatypes - XSchema data types, UML/XMI
 - Structural rules - Schematron
 - Semantics - RDF(S)?, XMI?, UREP?, eCo?

Note all the question marks in the last entry.

Uche's Apothegm: Any combination of S-words("schema" and "semantic"
in this case) results in instant and mutual annihilation with question
marks as the only surviving byproduct.

Boom.


-- 
Uche Ogbuji                               Principal Consultant
uche.ogbuji@f...               +1 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python


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.