Re: [xml-dev] XML Schema 1.1 Best Practice: Expressing Business Rules - Co-Locate or Separate?

From
Michael Kay <>
To
Date
2010-11-11T23:44:10Z
ID
<>
Thread
Re: [xml-dev] XML Schema 1.1 Best Practice: Expressing Business Rules - 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