OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Two Questions - on XML Schema

[ Lists Home | Date Index | Thread Index ]

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.

Rick Jelliffe


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

Copyright 2001 XML.org. This site is hosted by OASIS