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

RE: Caution using XML Schema backward- or forward-compatibilit

  • From: "Michael Kay" <mike@s...>
  • To: "'Stephen Green'" <stephengreenubl@g...>,"'Costello, Roger L.'" <costello@m...>,<xml-dev@l...>
  • Date: Thu, 27 Dec 2007 11:12:50 -0000

RE:  Caution using XML Schema backward- or forward-compatibilit
> e.g. because an element wasn't made optional it 
> cannot be removed and so there is a temptation to change its 
> semantics - to reuse it for something else rather than remove 
> it. 

Yes, "semantic drift" is a big problem and of course it happens even in the
absence of schema change.

Semantic drift happens naturally in the real world, for example credit card
numbers which once identified an account might start to identify a specific
card with access to that account. It's not surprising that it happens,
because if a system is capable of meeting new requirements without requiring
any software changes then people will use it creatively in new ways to meet
those requirements. One of the challenges in designing schemas (or database
integrity constraints) is knowing whether you should try to resist semantic
drift as a menace to information integrity, or whether you should allow your
system to ride the waves, thus increasing its flexibility and longevity. 

System designers often underestimate the creativity of users in applying
semantic overloading to data structures. I saw one system where users were
marking certain records for review the following day, simply by entering a
particular code that was known to be invalid and would therefore appear in
tomorrow's validation report. The system designers helpfully introduced
stronger validation at data-entry time, and chaos ensued because the users
had to invent a new process.

Michael Kay
http://www.saxonica.com/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.