What else should Schematron have?

by Rick Jelliffe

Schematron uptake is on the increase, and the betas implementation of ISO Schematron is chugging away. The relevant working group at ISO (ISO/IEC JTC1 SC34 WG1) has asked me to look into preparing an update for the standard; most of the other ISO DSDL family of schema languages have just been through a round of corrections based on initial experience, and I want to prepare something by the end of May.

There won't be any changes that would break existing ISO Schematron schemas. And I don't think there would be any extra logical apparatus or changes to the class of logic required; and certainly nothing that would prevent implementation in XSLT 1 by default.

I am interested in gathering a wish list, especially things where you have extended Schematron (i.e. your requirement was strong enough that you actually wrote some code!) Please let me know.

4 Comments

Anthony B. Coates
2007-05-24 04:15:13
I would be keen to see Schematron's XML reporting format broken out into a separate spec that could then be enhanced to be a general format for reporting validation errors, business rule failures, etc.
Cheers, Tony.
Rick Jelliffe
2007-06-01 00:28:58

I am wondering whether SVRL is the right base for this, actually. Tony has a language he uses, and ZVON had their language too. And W3C have a reporting framework language, and the Ant task for Schematron also has a wrapper for multiple files. Furthermore, SVRL is very Schematron-specific, and if one of my aims is to be able to convert all DSDL languages into a single XSLT script, it makes sense to have a common reporting language.


Lars
2007-07-10 09:26:26
This may not be part of the ISO Schematron standard, but it's very useful: an updated Report Generator (error browser) for SVRL. I've browsed around on schematron.com and googled around to find such a stylesheet.


For the old schematron, there was David Carlisle's schematron-report.xsl. But it doesn't seem to work with SVRL. I could experiment with modifying schematron-report.xsl to import iso_schematron_skeleton.xsl instead of schematron-skeleton-1.5.xsl. Seems like it would be handy to have an approved and ready-to-go version though.


Have I just missed it somewhere?

Lars
2007-07-10 09:59:48
P.S. It appears from Dave Pawson's schematron process diagram (http://www.schematron.com/validators/process.svg) that rendering SVRL into a form the end user can read is not even considered part of the process. I can understand that every standard needs a limited scope, but surely there is a need (be it outside the standard) for a stylesheet to render SVRL into something human-readable. (Modifying schematron-report.xsl to import iso_schematron_skeleton.xsl didn't work, by the way.) Especially since the existing stylesheets are difficult to understand, with their multiple layers of imports and code generation.