← Prev in month ← Prev in thread

XML Schema 1.1 Best Practice: Expressing Business Rules - Co-Locate or Separate?

From
Costello, Roger L. <>
To
"" <>
Date
2010-11-10T13:38:01Z
ID
<>
Thread
XML Schema 1.1 Best Practice: Expressing Business Rules - Co-Locate or Separate?
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?


Hi Folks, 

I created a draft write-up of the above issue. Here it is:

http://www.xfront.com/xml-schema-1-1/best-practice/expressing-business-rules.pdf 


Here are the two alternate designs described in the write-up:

    1. Co-locate business rules with data rules.

    2. Separate business rules from data rules (and create a validation pipeline).

Are there other designs?


The write-up lists some advantages and disadvantages of each design. What are the other advantages and disadvantages?


/Roger
← Prev in month ← Prev in thread