Validate an XML Document Against Schematron

To validate an XML document against a Schematron schema, select the Validate action from the Validation toolbar drop-down menu, or the XML menu, or from the Validate menu when invoking the contextual menu in the Navigator 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 Document > Schema 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:

PI Added by the Associate Schema Action

<?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 Problems tab at the bottom area of the Oxygen XML Developer plugin window. Each error is flagged with a severity level that can be one of warning, error, fatal or info.

To set a severity level, Oxygen XML Developer plugin looks for the following information:
Related concepts
Parent topic: Editing Schematron Schemas Previous topic: Editing Schematron Schemas Next topic: Validating Schematron Documents