[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Are people really using Identity constraints specified in


semantic business rules

On Aug 24, 2004, at 11:02 AM, Michael Kay wrote:
>>

>> 2. "Semantic" or "business rule" validation
>>
>> "Syntactical" or "structural" validation is useful in
>> eliminating a certain
>> number of mechanical data entry errors, such as leaving out
>> required items
>> or putting strings in fields that require numbers (e.g. phone numbers,
>> dates, etc.)
>
> I was under the impression US phone numbers could be alphabetic?

Right, good point.  1-800-AAA-HELP etc. I wonder how many Web forms 
would accept numbers in this form?

>
> I am not convinced that the distinction you are making is a real one. 
> In the
> end, all the rules are essentially social rules.
>

Well, it is certainly a fuzzy distinction with a totally undecideable 
area in the middle. I do think it is a useful *continuum*, with schema 
validation being the obvious implementation choice for enforcing rules 
at the structural end, and procedural code being the obvious choice at 
the semantic end -- especially since most real organizations have 
running code that defines their "semantic" business rules today, and 
the challenge is to access it in a vendor / platform / language-neutral 
manner.

I wouldn't want to argue the point with you, especially since I agree 
that schema validation is all too often a solution looking for a 
problem!


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.