[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Implement data rules in application code?
Haging said that, there is one scenario where you definitely want assertions direct in your application code: this is where you want to shout out an application assumption or limitation that has no necessary connection to the data or schema. For example, that your travel-agency application does not handle red-haired people. You may decide to *also* put this redhead check into a Schematron schema, say in an application-specific phase. But application-specific release-specific limitations you want to keep and call out in the application code so that future developers can clearly see and maintain them, you don't want to hide them in another layer IMHO. Regards Rick On 12 Apr 2017 16:49, "Rick Jelliffe" <rjelliffe@allette.com.au> wrote:
[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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|