OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Are people really using Identity constraints specified in

[ Lists Home | Date Index | Thread Index ]

It depends on the consequence.  In a recent case locally, 
a restaurant that was working juveniles (under 16) excess 
hours paid fines.   A business rule must have a consequence, 
and since policy tends to be very local, putting these in 
any component shared across boundaries is unfit design.

It is a matter of which component do you wish to emit 
the exception.  One might want to log it but now we 
have to discuss access and transparency requirements, 
aka, who's zoomin' who.


From: Michael Kay [mailto:michael.h.kay@ntlworld.com]

> Often it will 
> be correct, valid data, revealing that the business rules 
> have indeed been breached.

To take Len's example, if the business rules say that an employee must not
work more than 40 hours and the employee says he has worked 43, what should
happen? Do you want the database to record incorrect data, on the basis that
the correct data is unpalatable?


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

Copyright 2001 XML.org. This site is hosted by OASIS