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

Re: XML Schemas: Best Practices

  • From: "Roger L. Costello" <costello@m...>
  • To: xml-dev@l...
  • Date: Wed, 22 Nov 2000 16:17:42 -0500

xml schemas nest
I am forwarding this from Mike Ripley:

At 10:06 AM -0500 11/22/00, Roger L. Costello wrote:
>Hi Folks,
>
>I would like to move on to the next issue in our schema design list.
>
>Issue: How do we define the semantics of schema components?

Big topic area that I could talk about for hours - lucky for everyone 
I am restricted to e-mail and the amount of time I have to put into 
typing a reply...

>[1] Do you agree that, by themselves, schemas define just syntax and
not
>semantics?

No, it's not that black and white.  If I nest things a certain way, 
or define a set of enumerated values, or define a complex type, I can 
provide lots of information that help define the semantics of a 
particular element.  Can we completely describe the semantics with 
XML Schemas alone?  No, otherwise we wouldn't be having this 
discussion.

>[2] A big question ... what is "semantics"?  Is semantics a universal
>thing? Or is it an application-specific thing? That is, is there such
a
>thing as the semantics of jdkdsfjkds, regardless of what application
is
>using it?  Or, is the semantics of jdkdsfjkds dependent upon the
>application that is using it? (i.e., "in this context jdkdsfjkds means
>xxx, whereas in that context it means yyy")

Both forms of semantics exist.  IMHO, application specific semantics 
are what keep getting us in trouble with regards to data 
interoperability.  Hence the drive for ontologies, common data 
environments, standardized database schemas, common data models, etc.

What should be a Best Practice?  I'm in strong favor of universal 
semantics.  It's very difficult to implement, but it's what we should 
try to do.

>[3]
><Brainstorming>
>    Can we separate semantics and syntax? 
>    Can define the syntax using the XML Schema
>    language and then apply different semantics,
>    depending upon the application?
>
>    Example.
>       Application#1: element(jdkdsfjkds) + semantics(A)
>       Application#2: element(jdkdsfjkds) + semantics(B)
></Brainstorming>

This is a recurring theme you have - why?


rip


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.