[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?
- From: Michael Kay <mike@saxonica.com>
- To: xml-dev@lists.xml.org
- Date: Thu, 11 Nov 2010 23:44:10 +0000
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]