XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XML Schema 1.1 Best Practice: Expressing BusinessRules - Co-Locate or Separate?

On 11/11/2010 05:54, George Cristian Bina wrote:
> 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.

So perhaps the real question is: what happens when validation finds 
errors? Who is told about the errors, and how do they get fixed? If 
different kinds of error go to different people for attention then 
perhaps there is some point in using different tools/schemas to control 
the validation, and in selecting a tool that will produce the most 
meaningful error messages for the person whose job it is to act on them.

Michael Kay



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS