XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] Separate data from rules ... is the XML Schema 1.1 <assert> element a step backwards?

> 
> In the book Business Rules Applied, Barbara von Halle 
> presents the Business Rules Methodology, which fundamentally 
> is about separating rules from data:

If you're trying to deduce from that that it's desirable for the following
two constraints to be written in different places using different languages,
then I think that's pretty perverse:

(a) price and cost are both mandatory, margin is optional

(b) either price must be present, or cost and margin must both be present

I don't know von Halle's book, and I don't know how she defines her terms,
but in my view you can't create any kind of data model without using
business rules as your input, so if you try to take the business rules out
of the data model you are left with nothing.

Regards,

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






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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS