To validate an XML document against a Schematron schema, select the
Validate action from the
Validation toolbar drop-down menu, or the menu, or
from the Validate menu when invoking the contextual menu in the
Project view.
If you would like to add a persistence association between your Schematron rules and the
current edited XML document, use the
Associate Schema action from the menu or the Document toolbar. A custom processing
instruction is added into the document and the validation process will take into account the
Schematron rules:
<?xml-model href="percent.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
The possible errors that might occur during the validation process are presented in the Errors panel at the bottom area of the Oxygen XML Editor window. Each error is flagged with a severity level that can be one of warning, error, fatal or info.