Schemas and Specifications

ISO Schematron Implementations

Rick Jelliffe is currently testing the skeleton implementation of ISO Schematron. Currently this is expected for release in late January 2007.

ISO SVRL Implementations

SVRL is a simple XML language for reporting the results of Schematron validation. As an XML document, it is suitable for further styling and conversions.

Schematron Support

Related Resources for Schematron

This page will contain references to implementations of ISO Schematron and other resources, as they become available. The current resources listed relate to pre-ISO Schematron. Implementations of ISO Schematron should be available in the next month.

For the specification for ISO Schematron, click the Specification link left.

XSD to Schematron

XSD to Schematron converter (ZIP archive, XSLT2) beta includes sample build.xml ant script.

Schematron 1.5 specification

The Schematron 1.5 spec

Well known URI

The well known URI for Schematron is http://www.ascc.net/xml/schematron.

Root namespace URI

http://www.ascc.net/xml/schematron is the namespace of the root element of a schematron schema.

Schematron Home Page

The original home page for Schematron at Academia Sinica. This page has details of various implementations.

Schematron 1.5 Reference Implementation for XSLT

The reference implementation is a software project based around skeleton1-5.xsl. It has been tried on 12 different and the test results are available on that page, togther with API documentation and samples of .BAT files for running the code with various XSLT processors.

Various tools include an error browser and a validator for interactive debugging in editors.

Schematron 1.5 tools are still being ported from 1.3. Some implementations at the Sinica site are pre-1.5 (see below). These are should be fine for schemas that just use patterns, rules, asserts, reports and names.

^top

Schematron 1.3 Reference Implementation for XSLT

Schematron 1.3 software project and earlier tools and schemas

Schematron 1.5 Schema for Schematron 1.5

A Schematron Schema for Schematron 1.5. If possible, please use your own local or cached copy.

XML Schema for Schematron 1.5

An XML Schema for Schematron 1.5. If possible, please use your own local or cached copy.

To help systems that do not understand RDDL, put the following attributes on the sch:schema element:

       xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
       xsi:schemaLocation="http://www.ascc.net/xml/schematron
          http://www.ascc.net/xml/schematron/schematron1-5.xsd" 

^top

XML DTD for Schematron 1.5

A DTD for Schematron1.5. If possible, please use your own local or cached copy.

We do not recommend using the DTD except for document creation, because some implementations of XSLT do not handle relative file location correctly.

If you are not using namespace prefixes, put the following document type declaration at the top of your schema (after any XML declaration and stylesheet declaration):

<!DOCTYPE schema PUBLIC "http://www.ascc.net/xml/schematron"
   "http://www.ascc.net/xml/schematron/schematron1-5.dtd">

If you are using namespace prefixes, put the following document type declaration at the top of your schema (after any XML declaration and stylesheet declaration):

<!DOCTYPE sch:schema PUBLIC "http://www.ascc.net/xml/schematron"
   "http://www.ascc.net/xml/schematron/schematron1-5.dtd"
[
  <!ENTITY % sp "sch:">
]>

^top

Guides, Tutorials and Articles

^top