[Home] [By Thread] [By Date] [Recent Entries]


Nathan Young -X (natyoung - Artizen at Cisco) wrote:

> <>I heard someone mention (and I can't remember where or when... but it's
> not my original idea) the idea of having standards for a validation
> warning/error format. When validation was done on an instance, it would
> result in a document snippet that represented the results of that pass
> of validation. Snippets could be concatenated from several validation
> steps, and the result would be a coherent report on the validity of the
> instance.


ISO Schematron has a little language called SVRL (Schematron Validation 
Reporting Language).  It basically is a list of <failed-assert> 
elements.  (It is being used for the test suite due to be finished this 
week. )

It was provided by user request.  One of the earliest implementations of 
Schematron, ZVON Schematron, produced an output document, and so was 
convenient for subsequent processing. My Screamathon Torture Test used a 
similar approach as well.

Defining the outcomes of validation as an XML document is very good, 
because it maintains an XML-in/XML-out workflow, and presumably is less 
non-disruptive than a non-XML "PSVI" API approach.

Cheers
Rick Jelliffe

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member