[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Kay <mike@s...>
  • To: xml-dev@l...
  • Date: Wed, 10 Nov 2010 14:03:16 +0000

On 10/11/2010 13:38, Costello, Roger L. wrote:
> Issue
>
> How should business rules be expressed? Should an XML Schema 1.1 document co-locate business rules and data rules? Or keep them separate?

First define your terms (you haven't done so, except by example). I'm 
not convinced there's a real difference. Unless perhaps your definition 
of "data constraint" is to say "there are many ways we could represent 
this information, and this is the way we have chosen" - e.g. that all 
dimensions should be expressed in cm - so the maximum size of a parcel 
is a business constraint, and the way the size is represented is a data 
constraint. But the boundary between the two is likely to be a fuzzy one 
much of the time.

Michael Kay
Saxonica


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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member