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

Re: XML Schema 1.1 Best Practice: Expressing BusinessRules -

  • From: George Cristian Bina <george@oxygenxml.com>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Thu, 11 Nov 2010 06:54:29 +0100

Re:  XML Schema 1.1 Best Practice:  Expressing BusinessRules -
Hi Roger,

The second alternative is more or less what we have right now, only that 
the rules are expressed in Schematron. If you are to use XProc or NVDL 
for specifying multiple validations you may very well use Schematron 
instead of XML Schema to specify the business rules. One major advantage 
of Schematron is that the error messages are specified by the schema 
author so they can be in a language that the user easily understands.
I believe that the whole point in using XML Schema 1.1 is to have those 
rules applied together with the structural validation. If someone 
accepts to use XProc or NVDL to drive the validation then I do not know 
any argument why they should express these business rules in XML Schema 
1.1 and not in Schematron.

Best Regards,
George
-- 
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 11/10/10 2:38 PM, Costello, Roger L. wrote:
> 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
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>


[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!

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.