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

RE: Schemas and Semantics (was: A Personal Reply...)

  • From: Matthew Gertner <matthew.gertner@s...>
  • To: 'Gavin Thomas Nicol' <gtn@e...>, xml-dev@l...
  • Date: Thu, 15 Mar 2001 11:59:24 +0100

RE: Schemas and Semantics (was: A Personal Reply...)
Gavin,

I generally agree with Rick's comments on this. To make this clear, my
answer to your question is a strong no. If element type "foo" has specific
semantics (and it always does IMO), this doesn't mean that these semantics
are obvious from the instance. Some examples:
1) "foo" should be displayed as a long text field when represented in a web
form.
2) The possible values of "foo" are contained in column X of table Y of
database Z.
3) "foo" in schema X maps to "bar" in schema Y.
4) When foo is changed, a mail should be sent to "matthew@s...".
5) "foo" is described in prose as "...whatever...".
6) etc.

All of these things tell us useful information about the meaning of "foo".
None of them can be deduced directly from the instance. BTW: For things like
2) Rick's Schematron is supercool. Combining Schematron with SAF is one of
the most promising approaches to representing formalized semantics that I
have seen, certainly more promising than RDF and the like (more flame bait,
I must be on a roll...).

Another BTW: My question wasn't meant to be facetious or rhetorical.
Obviously there is a strong feeling out there that element types can be
ambiguous. Is there a real-world example of this that I can sink my teeth
into?

Cheers,
Matt

> -----Original Message-----
> From: Gavin Thomas Nicol [mailto:gtn@e...]
> Sent: Thursday, March 15, 2001 3:51 AM
> To: Matthew Gertner; xml-dev@l...
> Subject: RE: Schemas and Semantics (was: A Personal Reply...)
> 
> 
> > a) I still don't believe that there is even one noncontrived 
> > example where an element in an instance truly has ambiguous 
> > semantics. 
> 
> In which case one wouldn't need schemas, right? After all, the
> instance defines the semantics, right?
> 
> 

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.